#1A335F

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

Aa

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

About this color

#1A335F 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.47:1.

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

Values

HEX#1A335F
RGBrgb(26, 51, 95)
HSLhsl(218, 57%, 24%)
OKLCHoklch(32.7% 0.084 260.8)

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 #1A335F 12.47:1 AAA Lc -101.6 Preferred for body text
Black text on #1A335F 1.68:1 Fails Lc 0.0 Not readable
#1A335F text on white 12.47:1 AAA Lc 98.1 Preferred for body text
#1A335F 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

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #AAC2EA

    oklch(81% 0.063 260.6)

  5. Step 400

    400

    #7CA1E0

    oklch(70.7% 0.102 260.7)

  6. Step 500

    500

    #5B88D7

    oklch(63% 0.13 261)

  7. Step 600

    600

    #4171C4

    oklch(55.6% 0.139 260.6)

  8. Step 700

    700

    #335EAA

    oklch(49.1% 0.131 260.9)

  9. Step 800

    800

    #2B4D89

    oklch(42.7% 0.107 260.9)

  10. Step 900

    900 (this color)

    #1A335F

    oklch(32.7% 0.084 260.8)

  11. Step 950

    950

    #172640

    oklch(27% 0.053 260.8)

Export this scale for Tailwind in the Tailwind colors tool

#1A335F 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.014
Deuteranopia (no green cones)#12315E0.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°).

  • #1A335F

    #1A335F

    oklch(32.7% 0.084 260.8)

  • #463000

    #463000

    oklch(32.6% 0.067 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A335F

    #1A335F

    oklch(32.7% 0.084 260.8)

  • #003A50

    #003A50

    oklch(32.7% 0.066 231.1)

  • #352B5C

    #352B5C

    oklch(32.7% 0.084 290.3)

Open the analogous palette in the generator

Split complementary

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

  • #1A335F

    #1A335F

    oklch(32.7% 0.084 260.8)

  • #552501

    #552501

    oklch(32.7% 0.084 51.1)

  • #363700

    #363700

    oklch(32.5% 0.071 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A335F

    #1A335F

    oklch(32.7% 0.084 260.8)

  • #581F21

    #581F21

    oklch(32.7% 0.084 21)

  • #183F12

    #183F12

    oklch(32.8% 0.085 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A335F

    #1A335F

    oklch(32.7% 0.084 260.8)

  • #531F3A

    #531F3A

    oklch(32.6% 0.085 350.5)

  • #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 #1A335F, closest first.

Similar named colors

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

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