#338EA4

Closest named color: Teal Blue (#01889F). oklch(60.3% 0.09 217), rgb(51, 142, 164).

Aa

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

About this color

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

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

Values

HEX#338EA4
RGBrgb(51, 142, 164)
HSLhsl(192, 53%, 42%)
OKLCHoklch(60.3% 0.09 217)

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 #338EA4 3.78:1 AA large text Lc -70.6 Content text, not long reading
Black text on #338EA4 5.54:1 AA Lc 39.0 Non-text elements, placeholder text
#338EA4 text on white 3.78:1 AA large text Lc 65.1 Content text, not long reading
#338EA4 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

    #F1F6F8

    oklch(97% 0.006 223.5)

  2. Step 100

    100

    #E1ECEF

    oklch(93.6% 0.012 215.8)

  3. Step 200

    200

    #C8DDE4

    oklch(88.4% 0.024 219.7)

  4. Step 300

    300

    #A1C8D3

    oklch(80.8% 0.044 216.8)

  5. Step 400

    400

    #6CACBD

    oklch(70.8% 0.07 216.5)

  6. Step 500

    500 (this color)

    #338EA4

    oklch(60.3% 0.09 217)

  7. Step 600

    600

    #078198

    oklch(55.6% 0.098 216.3)

  8. Step 700

    700

    #006C81

    oklch(49% 0.088 217.4)

  9. Step 800

    800

    #03596A

    oklch(42.8% 0.075 216.8)

  10. Step 900

    900

    #134956

    oklch(37.7% 0.059 217.4)

  11. Step 950

    950

    #0D2B32

    oklch(27% 0.037 215.6)

Export this scale for Tailwind in the Tailwind colors tool

#338EA4 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)#7F8AA50.078
Deuteranopia (no green cones)#6F7EA40.070
Tritanopia (no blue cones)#0096950.042
Achromatopsia (no color)#8383830.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #338EA4

    #338EA4

    oklch(60.3% 0.09 217)

  • #B06D5A

    #B06D5A

    oklch(60.3% 0.091 36.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338EA4

    #338EA4

    oklch(60.3% 0.09 217)

  • #30928A

    #30928A

    oklch(60.2% 0.09 187.3)

  • #5286B4

    #5286B4

    oklch(60.3% 0.09 246.6)

Open the analogous palette in the generator

Split complementary

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

  • #338EA4

    #338EA4

    oklch(60.3% 0.09 217)

  • #AF6A78

    #AF6A78

    oklch(60.4% 0.09 7)

  • #A57643

    #A57643

    oklch(60.3% 0.09 66.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338EA4

    #338EA4

    oklch(60.3% 0.09 217)

  • #A46C95

    #A46C95

    oklch(60.4% 0.09 337)

  • #90813D

    #90813D

    oklch(60.2% 0.09 97.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338EA4

    #338EA4

    oklch(60.3% 0.09 217)

  • #8F72AB

    #8F72AB

    oklch(60.2% 0.09 307.2)

  • #B06D5A

    #B06D5A

    oklch(60.3% 0.091 36.6)

  • #728B4E

    #728B4E

    oklch(60.2% 0.091 127.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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