#337DAF

Closest named color: Nice Blue (#107AB0). oklch(56.6% 0.106 241.8), rgb(51, 125, 175).

Aa

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

About this color

#337DAF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.106 and its hue 242°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.021 away. Black text reads best on it, at 4.69:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.69:1
White text4.47:1

Values

HEX#337DAF
RGBrgb(51, 125, 175)
HSLhsl(204, 55%, 44%)
OKLCHoklch(56.6% 0.106 241.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 #337DAF 4.47:1 AA large text Lc -76.3 Fine for body text
Black text on #337DAF 4.69:1 AA Lc 33.3 Non-text elements, placeholder text
#337DAF text on white 4.47:1 AA large text Lc 70.8 Content text, not long reading
#337DAF 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE9

    oklch(88.5% 0.026 239.1)

  4. Step 300

    300

    #A6C5DD

    oklch(80.9% 0.048 241.5)

  5. Step 400

    400

    #75A7CC

    oklch(70.7% 0.076 241.2)

  6. Step 500

    500

    #4F90BF

    oklch(63% 0.098 241.9)

  7. Step 600

    600 (this color)

    #337DAF

    oklch(56.6% 0.106 241.8)

  8. Step 700

    700

    #216693

    oklch(49% 0.099 241.9)

  9. Step 800

    800

    #1E5478

    oklch(42.8% 0.082 241.7)

  10. Step 900

    900

    #1F4560

    oklch(37.6% 0.063 242.1)

  11. Step 950

    950

    #132938

    oklch(27% 0.04 240.2)

Export this scale for Tailwind in the Tailwind colors tool

#337DAF 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)#667EB10.052
Deuteranopia (no green cones)#5572AE0.041
Tritanopia (no blue cones)#00898E0.074
Achromatopsia (no color)#7777770.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #337DAF

    #337DAF

    oklch(56.6% 0.106 241.8)

  • #A2662C

    #A2662C

    oklch(56.5% 0.106 61.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #337DAF

    #337DAF

    oklch(56.6% 0.106 241.8)

  • #008598

    #008598

    oklch(56.6% 0.099 212.2)

  • #6071B5

    #6071B5

    oklch(56.5% 0.107 272)

Open the analogous palette in the generator

Split complementary

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

  • #337DAF

    #337DAF

    oklch(56.6% 0.106 241.8)

  • #AC5D4E

    #AC5D4E

    oklch(56.7% 0.106 31.9)

  • #8D741B

    #8D741B

    oklch(56.7% 0.107 92.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #337DAF

    #337DAF

    oklch(56.6% 0.106 241.8)

  • #A95A72

    #A95A72

    oklch(56.7% 0.106 1.7)

  • #6C8032

    #6C8032

    oklch(56.7% 0.107 122)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #337DAF

    #337DAF

    oklch(56.6% 0.106 241.8)

  • #9A5E92

    #9A5E92

    oklch(56.7% 0.105 331.8)

  • #A2662C

    #A2662C

    oklch(56.5% 0.106 61.6)

  • #408856

    #408856

    oklch(56.7% 0.106 151.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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