#338DAC

Closest named color: Blue NCS (#118AB2). oklch(60.4% 0.095 224.8), rgb(51, 141, 172).

Aa

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

About this color

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

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

Values

HEX#338DAC
RGBrgb(51, 141, 172)
HSLhsl(195, 54%, 44%)
OKLCHoklch(60.4% 0.095 224.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 #338DAC 3.78:1 AA large text Lc -70.6 Content text, not long reading
Black text on #338DAC 5.54:1 AA Lc 39.0 Non-text elements, placeholder text
#338DAC text on white 3.78:1 AA large text Lc 65.1 Content text, not long reading
#338DAC text on black 5.54:1 AA Lc -36.6 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

    #A1C8D7

    oklch(81% 0.046 223.3)

  5. Step 400

    400

    #6BABC4

    oklch(70.7% 0.075 224.9)

  6. Step 500

    500 (this color)

    #338DAC

    oklch(60.4% 0.095 224.8)

  7. Step 600

    600

    #077FA1

    oklch(55.5% 0.104 225.3)

  8. Step 700

    700

    #006B88

    oklch(49.1% 0.093 224.9)

  9. Step 800

    800

    #035870

    oklch(42.8% 0.08 224.7)

  10. Step 900

    900

    #12485A

    oklch(37.6% 0.062 224.8)

  11. Step 950

    950

    #0D2A35

    oklch(26.9% 0.04 226.2)

Export this scale for Tailwind in the Tailwind colors tool

#338DAC 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)#7C8AAE0.074
Deuteranopia (no green cones)#6B7EAC0.064
Tritanopia (no blue cones)#0096970.051
Achromatopsia (no color)#8383830.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DAC

    #338DAC

    oklch(60.4% 0.095 224.8)

  • #B16E50

    #B16E50

    oklch(60.4% 0.096 44.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DAC

    #338DAC

    oklch(60.4% 0.095 224.8)

  • #219393

    #219393

    oklch(60.4% 0.096 194.9)

  • #5984B9

    #5984B9

    oklch(60.4% 0.094 254.3)

Open the analogous palette in the generator

Split complementary

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

  • #338DAC

    #338DAC

    oklch(60.4% 0.095 224.8)

  • #B3696F

    #B3696F

    oklch(60.4% 0.095 15.1)

  • #A3783A

    #A3783A

    oklch(60.3% 0.096 74.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DAC

    #338DAC

    oklch(60.4% 0.095 224.8)

  • #AA698F

    #AA698F

    oklch(60.3% 0.097 344.4)

  • #8A843B

    #8A843B

    oklch(60.3% 0.095 104.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DAC

    #338DAC

    oklch(60.4% 0.095 224.8)

  • #976FA9

    #976FA9

    oklch(60.3% 0.097 315)

  • #B16E50

    #B16E50

    oklch(60.4% 0.096 44.6)

  • #688E52

    #688E52

    oklch(60.3% 0.096 134.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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