#337FA1

Closest named color: Cerulean (#457B9D). oklch(56.4% 0.09 230.8), rgb(51, 127, 161).

Aa

Black text reads best on this color (4.69:1).

About this color

#337FA1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.090 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.017 away. Black text reads best on it, at 4.69:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameCerulean (#457B9D)
Black text4.69:1
White text4.47:1

Values

HEX#337FA1
RGBrgb(51, 127, 161)
HSLhsl(199, 52%, 42%)
OKLCHoklch(56.4% 0.09 230.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 #337FA1 4.47:1 AA large text Lc -76.3 Fine for body text
Black text on #337FA1 4.69:1 AA Lc 33.3 Non-text elements, placeholder text
#337FA1 text on white 4.47:1 AA large text Lc 70.8 Content text, not long reading
#337FA1 text on black 4.69:1 AA Lc -30.9 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2EBF0

    oklch(93.5% 0.012 231.7)

  3. Step 200

    200

    #CBDCE6

    oklch(88.5% 0.023 233.4)

  4. Step 300

    300

    #A7C6D6

    oklch(80.9% 0.04 230.3)

  5. Step 400

    400

    #76A9C2

    oklch(70.8% 0.065 230)

  6. Step 500

    500

    #5093B3

    oklch(63.2% 0.083 230.8)

  7. Step 600

    600 (this color)

    #337FA1

    oklch(56.4% 0.09 230.8)

  8. Step 700

    700

    #226988

    oklch(49.2% 0.084 231.1)

  9. Step 800

    800

    #1F566E

    oklch(42.8% 0.069 230.3)

  10. Step 900

    900

    #1F4759

    oklch(37.7% 0.054 229.9)

  11. Step 950

    950

    #132A34

    oklch(27.1% 0.034 228.3)

Export this scale for Tailwind in the Tailwind colors tool

#337FA1 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)#6E7DA30.062
Deuteranopia (no green cones)#5F72A10.054
Tritanopia (no blue cones)#00888A0.056
Achromatopsia (no color)#7777770.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #337FA1

    #337FA1

    oklch(56.4% 0.09 230.8)

  • #A06542

    #A06542

    oklch(56.3% 0.091 50.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #337FA1

    #337FA1

    oklch(56.4% 0.09 230.8)

  • #19858B

    #19858B

    oklch(56.3% 0.09 200.8)

  • #5776AB

    #5776AB

    oklch(56.5% 0.09 260.7)

Open the analogous palette in the generator

Split complementary

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

  • #337FA1

    #337FA1

    oklch(56.4% 0.09 230.8)

  • #A45F5F

    #A45F5F

    oklch(56.4% 0.09 20.3)

  • #917031

    #917031

    oklch(56.5% 0.091 81.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #337FA1

    #337FA1

    oklch(56.4% 0.09 230.8)

  • #9E5F7C

    #9E5F7C

    oklch(56.5% 0.09 351.3)

  • #787A37

    #787A37

    oklch(56.3% 0.09 110.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #337FA1

    #337FA1

    oklch(56.4% 0.09 230.8)

  • #8E6496

    #8E6496

    oklch(56.5% 0.09 321)

  • #A06542

    #A06542

    oklch(56.3% 0.091 50.7)

  • #578350

    #578350

    oklch(56.4% 0.09 141.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #337FA1 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.