#337FDF

Closest named color: Water Blue (#0E87CC). oklch(59.9% 0.164 256), rgb(51, 127, 223).

Aa

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

About this color

#337FDF is a medium-dark, vivid blue. In OKLCH its lightness is 60%, its chroma 0.164 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.042 away. Black text reads best on it, at 5.24:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromavivid (0.164)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.24:1
White text4.00:1

Values

HEX#337FDF
RGBrgb(51, 127, 223)
HSLhsl(213, 73%, 54%)
OKLCHoklch(59.9% 0.164 256)

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 #337FDF 4.00:1 AA large text Lc -72.4 Content text, not long reading
Black text on #337FDF 5.24:1 AA Lc 37.2 Non-text elements, placeholder text
#337FDF text on white 4.00:1 AA large text Lc 66.9 Content text, not long reading
#337FDF text on black 5.24:1 AA Lc -34.7 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 500.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF7

    oklch(88.5% 0.045 255.6)

  4. Step 300

    300

    #9FC3F4

    oklch(80.8% 0.08 256.2)

  5. Step 400

    400

    #69A3EF

    oklch(70.8% 0.128 255.7)

  6. Step 500

    500 (this color)

    #337FDF

    oklch(59.9% 0.164 256)

  7. Step 600

    600

    #1670D8

    oklch(55.5% 0.178 256.1)

  8. Step 700

    700

    #035DBC

    oklch(49% 0.167 256.2)

  9. Step 800

    800

    #0B4D98

    oklch(42.8% 0.137 256)

  10. Step 900

    900

    #144179

    oklch(37.8% 0.107 256)

  11. Step 950

    950

    #0D2647

    oklch(26.9% 0.069 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#337FDF 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)#4F87E30.034
Deuteranopia (no green cones)#2D78DD0.020
Tritanopia (no blue cones)#0096A40.126
Achromatopsia (no color)#7F7F7F0.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #337FDF

    #337FDF

    oklch(59.9% 0.164 256)

  • #AA7400

    #AA7400

    oklch(60% 0.126 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #337FDF

    #337FDF

    oklch(59.9% 0.164 256)

  • #008DB4

    #008DB4

    oklch(59.9% 0.115 226.1)

  • #7A6CDC

    #7A6CDC

    oklch(59.9% 0.165 286)

Open the analogous palette in the generator

Split complementary

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

  • #337FDF

    #337FDF

    oklch(59.9% 0.164 256)

  • #CB580C

    #CB580C

    oklch(59.8% 0.164 45.9)

  • #8A8400

    #8A8400

    oklch(59.9% 0.128 106.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #337FDF

    #337FDF

    oklch(59.9% 0.164 256)

  • #CF4D5E

    #CF4D5E

    oklch(59.9% 0.164 15.8)

  • #4E951E

    #4E951E

    oklch(60% 0.164 136)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #337FDF

    #337FDF

    oklch(59.9% 0.164 256)

  • #C15094

    #C15094

    oklch(59.8% 0.163 346)

  • #AA7400

    #AA7400

    oklch(60% 0.126 76.4)

  • #00976F

    #00976F

    oklch(60% 0.124 166.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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