#338EA9

Closest named color: Blue NCS (#118AB2). oklch(60.5% 0.093 221.3), rgb(51, 142, 169).

Aa

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

About this color

#338EA9 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 60%, its chroma 0.093 and its hue 221°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.026 away. Black text reads best on it, at 5.58:1.

Hue familyTeals and cyans
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.093)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.58:1
White text3.76:1

Values

HEX#338EA9
RGBrgb(51, 142, 169)
HSLhsl(194, 54%, 43%)
OKLCHoklch(60.5% 0.093 221.3)

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 #338EA9 3.76:1 AA large text Lc -70.4 Content text, not long reading
Black text on #338EA9 5.58:1 AA Lc 39.2 Non-text elements, placeholder text
#338EA9 text on white 3.76:1 AA large text Lc 64.9 Content text, not long reading
#338EA9 text on black 5.58:1 AA Lc -36.8 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

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECF0

    oklch(93.6% 0.013 221.4)

  3. Step 200

    200

    #C8DDE5

    oklch(88.4% 0.025 222.6)

  4. Step 300

    300

    #A1C8D6

    oklch(80.9% 0.046 221.7)

  5. Step 400

    400

    #6BABC1

    oklch(70.6% 0.073 221.9)

  6. Step 500

    500 (this color)

    #338EA9

    oklch(60.5% 0.093 221.3)

  7. Step 600

    600

    #05809D

    oklch(55.6% 0.101 221.3)

  8. Step 700

    700

    #006C85

    oklch(49.2% 0.09 221.2)

  9. Step 800

    800

    #02586D

    oklch(42.7% 0.078 221.5)

  10. Step 900

    900

    #124958

    oklch(37.8% 0.06 220.2)

  11. Step 950

    950

    #0D2B34

    oklch(27.1% 0.039 220.8)

Export this scale for Tailwind in the Tailwind colors tool

#338EA9 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)#7E8AAA0.076
Deuteranopia (no green cones)#6E7EA90.069
Tritanopia (no blue cones)#0097970.047
Achromatopsia (no color)#8484840.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #338EA9

    #338EA9

    oklch(60.5% 0.093 221.3)

  • #B16E55

    #B16E55

    oklch(60.5% 0.093 41.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338EA9

    #338EA9

    oklch(60.5% 0.093 221.3)

  • #29938F

    #29938F

    oklch(60.4% 0.093 191.2)

  • #5685B8

    #5685B8

    oklch(60.5% 0.094 251.5)

Open the analogous palette in the generator

Split complementary

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

  • #338EA9

    #338EA9

    oklch(60.5% 0.093 221.3)

  • #B26973

    #B26973

    oklch(60.4% 0.094 11.4)

  • #A4783E

    #A4783E

    oklch(60.5% 0.093 72)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338EA9

    #338EA9

    oklch(60.5% 0.093 221.3)

  • #A86B92

    #A86B92

    oklch(60.6% 0.093 341.5)

  • #8D833C

    #8D833C

    oklch(60.4% 0.093 101.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338EA9

    #338EA9

    oklch(60.5% 0.093 221.3)

  • #9471AB

    #9471AB

    oklch(60.5% 0.094 311.3)

  • #B16E55

    #B16E55

    oklch(60.5% 0.093 41.2)

  • #6D8D51

    #6D8D51

    oklch(60.4% 0.093 131.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #338EA9 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.