#1F4186

Closest named color: Cobalt (#1E488F). oklch(39.2% 0.123 262.5), rgb(31, 65, 134).

Aa

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

About this color

#1F4186 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.123 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.023 away. White text reads best on it, at 9.72:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.15:1
White text9.72:1

Values

HEX#1F4186
RGBrgb(31, 65, 134)
HSLhsl(220, 62%, 32%)
OKLCHoklch(39.2% 0.123 262.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 #1F4186 9.72:1 AAA Lc -96.4 Preferred for body text
Black text on #1F4186 2.15:1 Fails Lc 11.8 Not readable
#1F4186 text on white 9.72:1 AAA Lc 92.2 Preferred for body text
#1F4186 text on black 2.15:1 Fails Lc -10.2 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #A1C1FD

    oklch(80.9% 0.092 262.7)

  5. Step 400

    400

    #6E9EFC

    oklch(70.7% 0.148 262.7)

  6. Step 500

    500

    #4883F9

    oklch(63.2% 0.187 262.4)

  7. Step 600

    600

    #2B68E8

    oklch(55.5% 0.204 262.6)

  8. Step 700

    700

    #1E56CA

    oklch(49.1% 0.19 262.4)

  9. Step 800

    800

    #1B47A3

    oklch(42.7% 0.157 262.5)

  10. Step 900

    900 (this color)

    #1F4186

    oklch(39.2% 0.123 262.5)

  11. Step 950

    950

    #11244C

    oklch(27% 0.078 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#1F4186 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)#1849890.022
Deuteranopia (no green cones)#0040850.020
Tritanopia (no blue cones)#00515D0.095
Achromatopsia (no color)#4444440.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #1F4186

    #1F4186

    oklch(39.2% 0.123 262.5)

  • #5A4000

    #5A4000

    oklch(39% 0.08 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1F4186

    #1F4186

    oklch(39.2% 0.123 262.5)

  • #004C69

    #004C69

    oklch(39.2% 0.08 232.5)

  • #493480

    #493480

    oklch(39.1% 0.123 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #1F4186

    #1F4186

    oklch(39.2% 0.123 262.5)

  • #6D3300

    #6D3300

    oklch(39.2% 0.099 53.1)

  • #474A00

    #474A00

    oklch(39.3% 0.087 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1F4186

    #1F4186

    oklch(39.2% 0.123 262.5)

  • #7A2125

    #7A2125

    oklch(39.2% 0.123 22.5)

  • #0E550C

    #0E550C

    oklch(39.3% 0.123 142.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1F4186

    #1F4186

    oklch(39.2% 0.123 262.5)

  • #73214C

    #73214C

    oklch(39.1% 0.123 352)

  • #5A4000

    #5A4000

    oklch(39% 0.08 82.4)

  • #005241

    #005241

    oklch(39.1% 0.075 172.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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