#1B314D

Closest named color: Prussian Blue (#1D3557). oklch(31% 0.058 255.1), rgb(27, 49, 77).

Aa

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

About this color

#1B314D is a dark, muted blue. In OKLCH its lightness is 31%, its chroma 0.058 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.021 away. White text reads best on it, at 13.18:1.

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.058)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.59:1
White text13.18:1

Values

HEX#1B314D
RGBrgb(27, 49, 77)
HSLhsl(214, 48%, 20%)
OKLCHoklch(31% 0.058 255.1)

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 #1B314D 13.18:1 AAA Lc -102.6 Preferred for body text
Black text on #1B314D 1.59:1 Fails Lc 0.0 Not readable
#1B314D text on white 13.18:1 AAA Lc 99.4 Preferred for body text
#1B314D text on black 1.59:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF3

    oklch(88.5% 0.038 255.6)

  4. Step 300

    300

    #A3C3ED

    oklch(80.8% 0.069 255.4)

  5. Step 400

    400

    #71A3E4

    oklch(70.7% 0.11 255.4)

  6. Step 500

    500

    #4A8BDC

    oklch(63.2% 0.14 255.1)

  7. Step 600

    600

    #2A73CA

    oklch(55.6% 0.153 255.2)

  8. Step 700

    700

    #1C60AF

    oklch(49.2% 0.142 255.2)

  9. Step 800

    800

    #1A4F8D

    oklch(42.8% 0.117 254.9)

  10. Step 900

    900

    #1C4271

    oklch(37.7% 0.092 255.2)

  11. Step 950

    950 (this color)

    #1B314D

    oklch(31% 0.058 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#1B314D 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)#25334E0.016
Deuteranopia (no green cones)#1F2E4C0.010
Tritanopia (no blue cones)#00373B0.049
Achromatopsia (no color)#3030300.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B314D

    #1B314D

    oklch(31% 0.058 255.1)

  • #412B08

    #412B08

    oklch(30.9% 0.058 74.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B314D

    #1B314D

    oklch(31% 0.058 255.1)

  • #013646

    #013646

    oklch(31% 0.058 224.7)

  • #2D2C4C

    #2D2C4C

    oklch(31% 0.057 284)

Open the analogous palette in the generator

Split complementary

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

  • #1B314D

    #1B314D

    oklch(31% 0.058 255.1)

  • #482616

    #482616

    oklch(31% 0.058 45.2)

  • #353209

    #353209

    oklch(31.1% 0.058 105.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B314D

    #1B314D

    oklch(31% 0.058 255.1)

  • #492327

    #492327

    oklch(31% 0.058 14.4)

  • #233717

    #233717

    oklch(31.1% 0.059 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B314D

    #1B314D

    oklch(31% 0.058 255.1)

  • #452337

    #452337

    oklch(30.9% 0.059 344.9)

  • #412B08

    #412B08

    oklch(30.9% 0.058 74.4)

  • #0A3929

    #0A3929

    oklch(30.9% 0.057 165.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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