#338DA8

Closest named color: Blue NCS (#118AB2). oklch(60.2% 0.093 221.6), rgb(51, 141, 168).

Aa

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

About this color

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

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

Values

HEX#338DA8
RGBrgb(51, 141, 168)
HSLhsl(194, 53%, 43%)
OKLCHoklch(60.2% 0.093 221.6)

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 #338DA8 3.80:1 AA large text Lc -70.8 Content text, not long reading
Black text on #338DA8 5.51:1 AA Lc 38.8 Non-text elements, placeholder text
#338DA8 text on white 3.80:1 AA large text Lc 65.3 Content text, not long reading
#338DA8 text on black 5.51:1 AA Lc -36.4 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

    #6CABC1

    oklch(70.7% 0.072 222.2)

  6. Step 500

    500 (this color)

    #338DA8

    oklch(60.2% 0.093 221.6)

  7. Step 600

    600

    #09809D

    oklch(55.6% 0.101 221.5)

  8. Step 700

    700

    #006C85

    oklch(49.2% 0.09 221.2)

  9. Step 800

    800

    #03586D

    oklch(42.7% 0.078 221.6)

  10. Step 900

    900

    #134958

    oklch(37.8% 0.06 220.4)

  11. Step 950

    950

    #0E2B34

    oklch(27.2% 0.038 221.3)

Export this scale for Tailwind in the Tailwind colors tool

#338DA8 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)#7D89A90.075
Deuteranopia (no green cones)#6D7EA80.067
Tritanopia (no blue cones)#0096960.047
Achromatopsia (no color)#8383830.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DA8

    #338DA8

    oklch(60.2% 0.093 221.6)

  • #B06D54

    #B06D54

    oklch(60.2% 0.093 41.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DA8

    #338DA8

    oklch(60.2% 0.093 221.6)

  • #28928E

    #28928E

    oklch(60.1% 0.093 191.2)

  • #5684B7

    #5684B7

    oklch(60.2% 0.093 251.9)

Open the analogous palette in the generator

Split complementary

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

  • #338DA8

    #338DA8

    oklch(60.2% 0.093 221.6)

  • #B16972

    #B16972

    oklch(60.3% 0.093 12.2)

  • #A3773E

    #A3773E

    oklch(60.2% 0.092 71.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DA8

    #338DA8

    oklch(60.2% 0.093 221.6)

  • #A76A91

    #A76A91

    oklch(60.2% 0.093 341.5)

  • #8C823C

    #8C823C

    oklch(60% 0.092 101.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DA8

    #338DA8

    oklch(60.2% 0.093 221.6)

  • #9370A9

    #9370A9

    oklch(60.1% 0.093 311.8)

  • #B06D54

    #B06D54

    oklch(60.2% 0.093 41.1)

  • #6C8C51

    #6C8C51

    oklch(60.1% 0.092 131.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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