#338EA1

Closest named color: Teal Blue (#01889F). oklch(60.1% 0.089 214.2), rgb(51, 142, 161).

Aa

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

About this color

#338EA1 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 60%, its chroma 0.089 and its hue 214°. Its hue sits on the cool side of the wheel. The nearest named color is Teal Blue (#01889F), ΔE 0.028 away. Black text reads best on it, at 5.52:1.

Hue familyTeals and cyans
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameTeal Blue (#01889F)
Black text5.52:1
White text3.80:1

Values

HEX#338EA1
RGBrgb(51, 142, 161)
HSLhsl(190, 52%, 42%)
OKLCHoklch(60.1% 0.089 214.2)

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 #338EA1 3.80:1 AA large text Lc -70.8 Content text, not long reading
Black text on #338EA1 5.52:1 AA Lc 38.8 Non-text elements, placeholder text
#338EA1 text on white 3.80:1 AA large text Lc 65.2 Content text, not long reading
#338EA1 text on black 5.52:1 AA Lc -36.4 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

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C8DEE3

    oklch(88.6% 0.024 212.9)

  4. Step 300

    300

    #A2C8D2

    oklch(80.9% 0.043 215.5)

  5. Step 400

    400

    #6CACBB

    oklch(70.7% 0.069 214.2)

  6. Step 500

    500 (this color)

    #338EA1

    oklch(60.1% 0.089 214.2)

  7. Step 600

    600

    #098196

    oklch(55.6% 0.096 214.7)

  8. Step 700

    700

    #006D7F

    oklch(49.2% 0.087 214.3)

  9. Step 800

    800

    #035968

    oklch(42.7% 0.074 214.4)

  10. Step 900

    900

    #134954

    oklch(37.6% 0.057 214.2)

  11. Step 950

    950

    #0E2B31

    oklch(27% 0.036 213.3)

Export this scale for Tailwind in the Tailwind colors tool

#338EA1 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)#8089A20.080
Deuteranopia (no green cones)#717EA10.072
Tritanopia (no blue cones)#0095940.037
Achromatopsia (no color)#8383830.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #338EA1

    #338EA1

    oklch(60.1% 0.089 214.2)

  • #AF6D5D

    #AF6D5D

    oklch(60.2% 0.088 34.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338EA1

    #338EA1

    oklch(60.1% 0.089 214.2)

  • #349287

    #349287

    oklch(60.2% 0.089 184.3)

  • #5086B2

    #5086B2

    oklch(60.1% 0.089 244.6)

Open the analogous palette in the generator

Split complementary

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

  • #338EA1

    #338EA1

    oklch(60.1% 0.089 214.2)

  • #AD6A7A

    #AD6A7A

    oklch(60.2% 0.088 4.6)

  • #A67545

    #A67545

    oklch(60.2% 0.089 64.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338EA1

    #338EA1

    oklch(60.1% 0.089 214.2)

  • #A16C96

    #A16C96

    oklch(60.1% 0.088 334.4)

  • #92803E

    #92803E

    oklch(60.2% 0.089 94.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338EA1

    #338EA1

    oklch(60.1% 0.089 214.2)

  • #8C73AC

    #8C73AC

    oklch(60.1% 0.089 304)

  • #AF6D5D

    #AF6D5D

    oklch(60.2% 0.088 34.4)

  • #758A4D

    #758A4D

    oklch(60.2% 0.089 124.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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