#338DAF

Closest named color: Blue NCS (#118AB2). oklch(60.5% 0.098 227.1), rgb(51, 141, 175).

Aa

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

About this color

#338DAF is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 60%, its chroma 0.098 and its hue 227°. 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.56:1.

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

Values

HEX#338DAF
RGBrgb(51, 141, 175)
HSLhsl(196, 55%, 44%)
OKLCHoklch(60.5% 0.098 227.1)

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 #338DAF 3.77:1 AA large text Lc -70.4 Content text, not long reading
Black text on #338DAF 5.56:1 AA Lc 39.1 Non-text elements, placeholder text
#338DAF text on white 3.77:1 AA large text Lc 64.9 Content text, not long reading
#338DAF text on black 5.56:1 AA Lc -36.7 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

    #6BABC6

    oklch(70.8% 0.076 226.8)

  6. Step 500

    500 (this color)

    #338DAF

    oklch(60.5% 0.098 227.1)

  7. Step 600

    600

    #067FA3

    oklch(55.6% 0.106 226.7)

  8. Step 700

    700

    #006B8A

    oklch(49.2% 0.095 226.5)

  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

#338DAF 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)#7B8AB10.072
Deuteranopia (no green cones)#6A7EAF0.063
Tritanopia (no blue cones)#0097980.056
Achromatopsia (no color)#8383830.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DAF

    #338DAF

    oklch(60.5% 0.098 227.1)

  • #B16F4D

    #B16F4D

    oklch(60.5% 0.097 47.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DAF

    #338DAF

    oklch(60.5% 0.098 227.1)

  • #1A9396

    #1A9396

    oklch(60.4% 0.098 197.6)

  • #5B83BC

    #5B83BC

    oklch(60.5% 0.098 257.3)

Open the analogous palette in the generator

Split complementary

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

  • #338DAF

    #338DAF

    oklch(60.5% 0.098 227.1)

  • #B5686C

    #B5686C

    oklch(60.5% 0.099 17.1)

  • #A27937

    #A27937

    oklch(60.4% 0.098 76.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DAF

    #338DAF

    oklch(60.5% 0.098 227.1)

  • #AC698D

    #AC698D

    oklch(60.5% 0.097 347)

  • #88863A

    #88863A

    oklch(60.6% 0.098 107.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DAF

    #338DAF

    oklch(60.5% 0.098 227.1)

  • #996FA8

    #996FA8

    oklch(60.5% 0.097 316.9)

  • #B16F4D

    #B16F4D

    oklch(60.5% 0.097 47.6)

  • #658F54

    #658F54

    oklch(60.4% 0.097 137.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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