#1B335F

Closest named color: Prussian Blue (#1D3557). oklch(32.7% 0.084 261.4), rgb(27, 51, 95).

Aa

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

About this color

#1B335F is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.084 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.017 away. White text reads best on it, at 12.46:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.68:1
White text12.46:1

Values

HEX#1B335F
RGBrgb(27, 51, 95)
HSLhsl(219, 56%, 24%)
OKLCHoklch(32.7% 0.084 261.4)

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 #1B335F 12.46:1 AAA Lc -101.6 Preferred for body text
Black text on #1B335F 1.68:1 Fails Lc 0.0 Not readable
#1B335F text on white 12.46:1 AAA Lc 98.1 Preferred for body text
#1B335F text on black 1.68: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 900.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CDDAF1

    oklch(88.6% 0.035 262)

  4. Step 300

    300

    #AAC2EA

    oklch(81% 0.063 260.6)

  5. Step 400

    400

    #7DA1E0

    oklch(70.7% 0.101 261.2)

  6. Step 500

    500

    #5C88D7

    oklch(63.1% 0.129 261.4)

  7. Step 600

    600

    #4370C4

    oklch(55.5% 0.14 261.7)

  8. Step 700

    700

    #355EA9

    oklch(49.2% 0.129 261.4)

  9. Step 800

    800

    #2C4D89

    oklch(42.7% 0.107 261.3)

  10. Step 900

    900 (this color)

    #1B335F

    oklch(32.7% 0.084 261.4)

  11. Step 950

    950

    #172640

    oklch(27% 0.053 260.8)

Export this scale for Tailwind in the Tailwind colors tool

#1B335F 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)#1E37610.013
Deuteranopia (no green cones)#13315E0.011
Tritanopia (no blue cones)#003D440.068
Achromatopsia (no color)#3434340.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B335F

    #1B335F

    oklch(32.7% 0.084 261.4)

  • #463000

    #463000

    oklch(32.6% 0.067 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B335F

    #1B335F

    oklch(32.7% 0.084 261.4)

  • #003A50

    #003A50

    oklch(32.7% 0.066 231.1)

  • #362B5C

    #362B5C

    oklch(32.8% 0.084 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #1B335F

    #1B335F

    oklch(32.7% 0.084 261.4)

  • #552501

    #552501

    oklch(32.7% 0.084 51.1)

  • #363800

    #363800

    oklch(32.8% 0.073 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B335F

    #1B335F

    oklch(32.7% 0.084 261.4)

  • #581F21

    #581F21

    oklch(32.7% 0.084 21)

  • #183F13

    #183F13

    oklch(32.8% 0.084 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B335F

    #1B335F

    oklch(32.7% 0.084 261.4)

  • #532039

    #532039

    oklch(32.7% 0.082 352)

  • #463000

    #463000

    oklch(32.6% 0.067 80.8)

  • #003F30

    #003F30

    oklch(32.7% 0.064 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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