#338FA8

Closest named color: Blue NCS (#118AB2). oklch(60.7% 0.092 219.4), rgb(51, 143, 168).

Aa

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

About this color

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

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

Values

HEX#338FA8
RGBrgb(51, 143, 168)
HSLhsl(193, 53%, 43%)
OKLCHoklch(60.7% 0.092 219.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 #338FA8 3.72:1 AA large text Lc -70.0 Content text, not long reading
Black text on #338FA8 5.63:1 AA Lc 39.5 Non-text elements, placeholder text
#338FA8 text on white 3.72:1 AA large text Lc 64.5 Content text, not long reading
#338FA8 text on black 5.63:1 AA Lc -37.1 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

    #A1C8D5

    oklch(80.9% 0.045 220.1)

  5. Step 400

    400

    #6BACC0

    oklch(70.8% 0.072 219.5)

  6. Step 500

    500 (this color)

    #338FA8

    oklch(60.7% 0.092 219.4)

  7. Step 600

    600

    #02809B

    oklch(55.5% 0.1 219.6)

  8. Step 700

    700

    #006C83

    oklch(49.1% 0.089 219.3)

  9. Step 800

    800

    #00586C

    oklch(42.6% 0.078 220.2)

  10. Step 900

    900

    #124957

    oklch(37.7% 0.06 218.7)

  11. Step 950

    950

    #0D2B33

    oklch(27.1% 0.038 218.3)

Export this scale for Tailwind in the Tailwind colors tool

#338FA8 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)#7F8BA90.077
Deuteranopia (no green cones)#6F7FA80.070
Tritanopia (no blue cones)#0097970.044
Achromatopsia (no color)#8484840.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FA8

    #338FA8

    oklch(60.7% 0.092 219.4)

  • #B26E58

    #B26E58

    oklch(60.7% 0.093 38.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FA8

    #338FA8

    oklch(60.7% 0.092 219.4)

  • #2C948E

    #2C948E

    oklch(60.7% 0.093 189.4)

  • #5586B7

    #5586B7

    oklch(60.6% 0.092 249.6)

Open the analogous palette in the generator

Split complementary

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

  • #338FA8

    #338FA8

    oklch(60.7% 0.092 219.4)

  • #B26A76

    #B26A76

    oklch(60.7% 0.093 9.4)

  • #A67841

    #A67841

    oklch(60.7% 0.092 69.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FA8

    #338FA8

    oklch(60.7% 0.092 219.4)

  • #A76C94

    #A76C94

    oklch(60.7% 0.092 339.6)

  • #90833D

    #90833D

    oklch(60.7% 0.092 98.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FA8

    #338FA8

    oklch(60.7% 0.092 219.4)

  • #9372AC

    #9372AC

    oklch(60.6% 0.093 309.8)

  • #B26E58

    #B26E58

    oklch(60.7% 0.093 38.7)

  • #708D50

    #708D50

    oklch(60.6% 0.092 129.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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