#1A2F5B

Closest named color: Marine (#042E60). oklch(31.4% 0.083 263.2), rgb(26, 47, 91).

Aa

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

About this color

#1A2F5B is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.083 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.021 away. White text reads best on it, at 13.11:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.60:1
White text13.11:1

Values

HEX#1A2F5B
RGBrgb(26, 47, 91)
HSLhsl(221, 56%, 23%)
OKLCHoklch(31.4% 0.083 263.2)

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 #1A2F5B 13.11:1 AAA Lc -102.5 Preferred for body text
Black text on #1A2F5B 1.60:1 Fails Lc 0.0 Not readable
#1A2F5B text on white 13.11:1 AAA Lc 99.2 Preferred for body text
#1A2F5B text on black 1.60: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C6DAFE

    oklch(88.5% 0.054 262.2)

  4. Step 300

    300

    #A0C1FF

    oklch(80.9% 0.095 262.7)

  5. Step 400

    400

    #6D9DFF

    oklch(70.6% 0.153 263.3)

  6. Step 500

    500

    #4781FF

    oklch(63.2% 0.197 263.3)

  7. Step 600

    600

    #2865F1

    oklch(55.6% 0.22 263.3)

  8. Step 700

    700

    #1C53D2

    oklch(49.2% 0.204 263.2)

  9. Step 800

    800

    #1945A9

    oklch(42.7% 0.168 263.2)

  10. Step 900

    900

    #1A3B86

    oklch(37.6% 0.132 263.5)

  11. Step 950

    950 (this color)

    #1A2F5B

    oklch(31.4% 0.083 263.2)

Export this scale for Tailwind in the Tailwind colors tool

#1A2F5B 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)#1A345D0.015
Deuteranopia (no green cones)#0E2E5A0.013
Tritanopia (no blue cones)#0039400.069
Achromatopsia (no color)#3030300.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #1A2F5B

    #1A2F5B

    oklch(31.4% 0.083 263.2)

  • #412E00

    #412E00

    oklch(31.5% 0.065 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1A2F5B

    #1A2F5B

    oklch(31.4% 0.083 263.2)

  • #00364D

    #00364D

    oklch(31.4% 0.065 233.8)

  • #342757

    #342757

    oklch(31.4% 0.083 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #1A2F5B

    #1A2F5B

    oklch(31.4% 0.083 263.2)

  • #4F2300

    #4F2300

    oklch(31.3% 0.08 52.9)

  • #323500

    #323500

    oklch(31.5% 0.07 113.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1A2F5B

    #1A2F5B

    oklch(31.4% 0.083 263.2)

  • #541C1C

    #541C1C

    oklch(31.4% 0.084 23.2)

  • #123B11

    #123B11

    oklch(31.3% 0.083 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1A2F5B

    #1A2F5B

    oklch(31.4% 0.083 263.2)

  • #501C35

    #501C35

    oklch(31.4% 0.084 353.1)

  • #412E00

    #412E00

    oklch(31.5% 0.065 83.7)

  • #003B2E

    #003B2E

    oklch(31.4% 0.061 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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