#1B478D

Closest named color: Cobalt (#1E488F). oklch(40.9% 0.126 259.5), rgb(27, 71, 141).

Aa

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

About this color

#1B478D is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.126 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.005 away. White text reads best on it, at 9.00:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.126)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.33:1
White text9.00:1

Values

HEX#1B478D
RGBrgb(27, 71, 141)
HSLhsl(217, 68%, 33%)
OKLCHoklch(40.9% 0.126 259.5)

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 #1B478D 9.00:1 AAA Lc -94.7 Preferred for body text
Black text on #1B478D 2.33:1 Fails Lc 13.7 Not readable
#1B478D text on white 9.00:1 AAA Lc 90.3 Preferred for body text
#1B478D text on black 2.33:1 Fails Lc -12.0 Not readable

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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EBF9

    oklch(93.7% 0.021 259.2)

  3. Step 200

    200

    #C9DAF5

    oklch(88.4% 0.042 259.6)

  4. Step 300

    300

    #A5C2F1

    oklch(80.9% 0.074 260)

  5. Step 400

    400

    #74A1EA

    oklch(70.7% 0.118 259.8)

  6. Step 500

    500

    #4F88E3

    oklch(63.1% 0.15 259.4)

  7. Step 600

    600

    #326FD1

    oklch(55.5% 0.164 259.6)

  8. Step 700

    700

    #255DB5

    oklch(49.2% 0.152 259.4)

  9. Step 800

    800 (this color)

    #1B478D

    oklch(40.9% 0.126 259.5)

  10. Step 900

    900

    #1F4075

    oklch(37.7% 0.099 259.5)

  11. Step 950

    950

    #132644

    oklch(27% 0.061 259.2)

Export this scale for Tailwind in the Tailwind colors tool

#1B478D 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)#1F4F900.024
Deuteranopia (no green cones)#00448C0.018
Tritanopia (no blue cones)#0058630.098
Achromatopsia (no color)#4949490.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B478D

    #1B478D

    oklch(40.9% 0.126 259.5)

  • #624400

    #624400

    oklch(40.9% 0.085 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B478D

    #1B478D

    oklch(40.9% 0.126 259.5)

  • #00526D

    #00526D

    oklch(41% 0.081 228.9)

  • #4B3A89

    #4B3A89

    oklch(41% 0.126 289.5)

Open the analogous palette in the generator

Split complementary

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

  • #1B478D

    #1B478D

    oklch(40.9% 0.126 259.5)

  • #773400

    #773400

    oklch(41% 0.109 49.6)

  • #4E4E00

    #4E4E00

    oklch(41% 0.089 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B478D

    #1B478D

    oklch(40.9% 0.126 259.5)

  • #81242D

    #81242D

    oklch(41% 0.127 19.5)

  • #1C5906

    #1C5906

    oklch(40.9% 0.126 139.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B478D

    #1B478D

    oklch(40.9% 0.126 259.5)

  • #792654

    #792654

    oklch(41% 0.126 349.8)

  • #624400

    #624400

    oklch(40.9% 0.085 80)

  • #005843

    #005843

    oklch(40.9% 0.081 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B478D 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.