#338DB0

Closest named color: Blue NCS (#118AB2). oklch(60.5% 0.099 227.8), rgb(51, 141, 176).

Aa

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

About this color

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

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

Values

HEX#338DB0
RGBrgb(51, 141, 176)
HSLhsl(197, 55%, 45%)
OKLCHoklch(60.5% 0.099 227.8)

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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE7

    oklch(88.5% 0.026 227.9)

  4. Step 300

    300

    #A1C7D9

    oklch(80.8% 0.048 228.3)

  5. Step 400

    400

    #6BAAC7

    oklch(70.6% 0.077 229)

  6. Step 500

    500 (this color)

    #338DB0

    oklch(60.5% 0.099 227.8)

  7. Step 600

    600

    #057FA4

    oklch(55.7% 0.107 227.4)

  8. Step 700

    700

    #006A8B

    oklch(49% 0.096 228.3)

  9. Step 800

    800

    #025772

    oklch(42.7% 0.082 227.8)

  10. Step 900

    900

    #12485C

    oklch(37.7% 0.064 227.4)

  11. Step 950

    950

    #0D2A36

    oklch(26.9% 0.041 228.4)

Export this scale for Tailwind in the Tailwind colors tool

#338DB0 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)#7B8BB20.072
Deuteranopia (no green cones)#697EB00.062
Tritanopia (no blue cones)#0097980.057
Achromatopsia (no color)#8484840.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DB0

    #338DB0

    oklch(60.5% 0.099 227.8)

  • #B26F4C

    #B26F4C

    oklch(60.6% 0.099 47.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DB0

    #338DB0

    oklch(60.5% 0.099 227.8)

  • #189497

    #189497

    oklch(60.7% 0.099 197.5)

  • #5C83BC

    #5C83BC

    oklch(60.5% 0.098 257.8)

Open the analogous palette in the generator

Split complementary

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

  • #338DB0

    #338DB0

    oklch(60.5% 0.099 227.8)

  • #B5686B

    #B5686B

    oklch(60.4% 0.099 17.9)

  • #A27A36

    #A27A36

    oklch(60.5% 0.099 78.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DB0

    #338DB0

    oklch(60.5% 0.099 227.8)

  • #AD698C

    #AD698C

    oklch(60.6% 0.098 348.2)

  • #88863A

    #88863A

    oklch(60.6% 0.098 107.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DB0

    #338DB0

    oklch(60.5% 0.099 227.8)

  • #9A6EA8

    #9A6EA8

    oklch(60.4% 0.099 317.8)

  • #B26F4C

    #B26F4C

    oklch(60.6% 0.099 47.8)

  • #649054

    #649054

    oklch(60.6% 0.099 137.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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