#338FA6

Closest named color: Blue NCS (#118AB2). oklch(60.6% 0.091 217.7), rgb(51, 143, 166).

Aa

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

About this color

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

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

Values

HEX#338FA6
RGBrgb(51, 143, 166)
HSLhsl(192, 53%, 43%)
OKLCHoklch(60.6% 0.091 217.7)

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 #338FA6 3.73:1 AA large text Lc -70.1 Content text, not long reading
Black text on #338FA6 5.62:1 AA Lc 39.4 Non-text elements, placeholder text
#338FA6 text on white 3.73:1 AA large text Lc 64.6 Content text, not long reading
#338FA6 text on black 5.62:1 AA Lc -37.0 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

    #C8DEE4

    oklch(88.6% 0.025 215.9)

  4. Step 300

    300

    #A1C8D4

    oklch(80.9% 0.045 218.5)

  5. Step 400

    400

    #6BACBE

    oklch(70.7% 0.071 217.4)

  6. Step 500

    500 (this color)

    #338FA6

    oklch(60.6% 0.091 217.7)

  7. Step 600

    600

    #03819A

    oklch(55.7% 0.099 217.8)

  8. Step 700

    700

    #006C82

    oklch(49.1% 0.088 218.4)

  9. Step 800

    800

    #01596A

    oklch(42.8% 0.076 216.6)

  10. Step 900

    900

    #124956

    oklch(37.7% 0.059 217.2)

  11. Step 950

    950

    #0D2B33

    oklch(27.1% 0.038 218.3)

Export this scale for Tailwind in the Tailwind colors tool

#338FA6 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)#808BA70.079
Deuteranopia (no green cones)#707FA60.071
Tritanopia (no blue cones)#0097960.043
Achromatopsia (no color)#8484840.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FA6

    #338FA6

    oklch(60.6% 0.091 217.7)

  • #B16E5A

    #B16E5A

    oklch(60.6% 0.091 37.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FA6

    #338FA6

    oklch(60.6% 0.091 217.7)

  • #2F938C

    #2F938C

    oklch(60.5% 0.091 188.3)

  • #5387B6

    #5387B6

    oklch(60.7% 0.091 247.2)

Open the analogous palette in the generator

Split complementary

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

  • #338FA6

    #338FA6

    oklch(60.6% 0.091 217.7)

  • #B16A78

    #B16A78

    oklch(60.6% 0.092 7.4)

  • #A67742

    #A67742

    oklch(60.6% 0.091 67.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FA6

    #338FA6

    oklch(60.6% 0.091 217.7)

  • #A56C95

    #A56C95

    oklch(60.5% 0.091 337.6)

  • #91823D

    #91823D

    oklch(60.5% 0.091 97.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FA6

    #338FA6

    oklch(60.6% 0.091 217.7)

  • #9173AC

    #9173AC

    oklch(60.6% 0.091 308)

  • #B16E5A

    #B16E5A

    oklch(60.6% 0.091 37.4)

  • #728C4F

    #728C4F

    oklch(60.5% 0.091 127.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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