#1B5799

Closest named color: Dusk Blue (#26538D). oklch(45.5% 0.123 254), rgb(27, 87, 153).

Aa

White text reads best on this color (7.31:1).

About this color

#1B5799 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.123 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.021 away. White text reads best on it, at 7.31:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.86:1
White text7.31:1

Values

HEX#1B5799
RGBrgb(27, 87, 153)
HSLhsl(211, 70%, 35%)
OKLCHoklch(45.5% 0.123 254)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #1B5799 7.31:1 AAA Lc -89.9 Fine for body text
Black text on #1B5799 2.86:1 Fails Lc 19.0 Dividers and decoration only
#1B5799 text on white 7.31:1 AAA Lc 85.0 Fine for body text
#1B5799 text on black 2.86:1 Fails Lc -17.0 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A1C4EF

    oklch(81% 0.072 253.8)

  5. Step 400

    400

    #6CA4E7

    oklch(70.8% 0.115 253.7)

  6. Step 500

    500

    #428BE0

    oklch(63.1% 0.148 254)

  7. Step 600

    600

    #1D73CE

    oklch(55.6% 0.161 254.1)

  8. Step 700

    700

    #0D60B2

    oklch(49.1% 0.149 254)

  9. Step 800

    800 (this color)

    #1B5799

    oklch(45.5% 0.123 254)

  10. Step 900

    900

    #174273

    oklch(37.7% 0.096 254.1)

  11. Step 950

    950

    #0F2743

    oklch(27% 0.06 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#1B5799 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#365C9C0.029
Deuteranopia (no green cones)#1F51980.017
Tritanopia (no blue cones)#0067700.094
Achromatopsia (no color)#5656560.123

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #1B5799

    #1B5799

    oklch(45.5% 0.123 254)

  • #764D00

    #764D00

    oklch(45.5% 0.096 74)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B5799

    #1B5799

    oklch(45.5% 0.123 254)

  • #00607A

    #00607A

    oklch(45.5% 0.086 224.5)

  • #504A98

    #504A98

    oklch(45.5% 0.123 283.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #1B5799

    #1B5799

    oklch(45.5% 0.123 254)

  • #8C3A0E

    #8C3A0E

    oklch(45.4% 0.123 44)

  • #605900

    #605900

    oklch(45.6% 0.096 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B5799

    #1B5799

    oklch(45.5% 0.123 254)

  • #8E3341

    #8E3341

    oklch(45.5% 0.123 14.3)

  • #38650D

    #38650D

    oklch(45.7% 0.124 134)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B5799

    #1B5799

    oklch(45.5% 0.123 254)

  • #843567

    #843567

    oklch(45.5% 0.124 344.3)

  • #764D00

    #764D00

    oklch(45.5% 0.096 74)

  • #006748

    #006748

    oklch(45.5% 0.097 164.2)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #1B5799, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #1B5799 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.