#338FAE

Closest named color: Blue NCS (#118AB2). oklch(60.9% 0.096 224.4), rgb(51, 143, 174).

Aa

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

About this color

#338FAE is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 61%, its chroma 0.096 and its hue 224°. 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.68:1.

Hue familyTeals and cyans
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.68:1
White text3.69:1

Values

HEX#338FAE
RGBrgb(51, 143, 174)
HSLhsl(195, 55%, 44%)
OKLCHoklch(60.9% 0.096 224.4)

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 #338FAE 3.69:1 AA large text Lc -69.7 Content text, not long reading
Black text on #338FAE 5.68:1 AA Lc 39.8 Non-text elements, placeholder text
#338FAE text on white 3.69:1 AA large text Lc 64.2 Content text, not long reading
#338FAE text on black 5.68:1 AA Lc -37.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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE6

    oklch(88.5% 0.026 225.3)

  4. Step 300

    300

    #A1C8D8

    oklch(81% 0.047 224.8)

  5. Step 400

    400

    #6AABC4

    oklch(70.7% 0.076 224.6)

  6. Step 500

    500 (this color)

    #338FAE

    oklch(60.9% 0.096 224.4)

  7. Step 600

    600

    #007FA1

    oklch(55.5% 0.105 225)

  8. Step 700

    700

    #006B88

    oklch(49.1% 0.093 224.9)

  9. Step 800

    800

    #005870

    oklch(42.8% 0.081 224.4)

  10. Step 900

    900

    #11485A

    oklch(37.6% 0.063 224.5)

  11. Step 950

    950

    #0D2B35

    oklch(27.2% 0.04 223.2)

Export this scale for Tailwind in the Tailwind colors tool

#338FAE 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)#7E8CB00.076
Deuteranopia (no green cones)#6D80AE0.066
Tritanopia (no blue cones)#0098990.051
Achromatopsia (no color)#8585850.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FAE

    #338FAE

    oklch(60.9% 0.096 224.4)

  • #B36F51

    #B36F51

    oklch(60.8% 0.097 44.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FAE

    #338FAE

    oklch(60.9% 0.096 224.4)

  • #219594

    #219594

    oklch(61% 0.097 194)

  • #5985BC

    #5985BC

    oklch(60.8% 0.097 254.6)

Open the analogous palette in the generator

Split complementary

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

  • #338FAE

    #338FAE

    oklch(60.9% 0.096 224.4)

  • #B56A71

    #B56A71

    oklch(60.9% 0.096 14.3)

  • #A57A3B

    #A57A3B

    oklch(60.9% 0.096 74.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FAE

    #338FAE

    oklch(60.9% 0.096 224.4)

  • #AC6B91

    #AC6B91

    oklch(61% 0.096 344.4)

  • #8C863B

    #8C863B

    oklch(60.9% 0.097 104.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FAE

    #338FAE

    oklch(60.9% 0.096 224.4)

  • #9871AB

    #9871AB

    oklch(60.9% 0.096 314.3)

  • #B36F51

    #B36F51

    oklch(60.8% 0.097 44.3)

  • #6A9053

    #6A9053

    oklch(61% 0.097 134.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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