#338AA4

Closest named color: Teal Blue (#01889F). oklch(59.3% 0.09 221.3), rgb(51, 138, 164).

Aa

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

About this color

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

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

Values

HEX#338AA4
RGBrgb(51, 138, 164)
HSLhsl(194, 53%, 42%)
OKLCHoklch(59.3% 0.09 221.3)

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 #338AA4 3.95:1 AA large text Lc -72.1 Content text, not long reading
Black text on #338AA4 5.31:1 AA Lc 37.5 Non-text elements, placeholder text
#338AA4 text on white 3.95:1 AA large text Lc 66.6 Content text, not long reading
#338AA4 text on black 5.31:1 AA Lc -35.0 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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECEF

    oklch(93.6% 0.011 217.5)

  3. Step 200

    200

    #CADDE4

    oklch(88.5% 0.023 221.8)

  4. Step 300

    300

    #A5C7D3

    oklch(80.9% 0.04 221.2)

  5. Step 400

    400

    #72AABD

    oklch(70.6% 0.065 221.3)

  6. Step 500

    500

    #4995AD

    oklch(63.1% 0.083 221.2)

  7. Step 600

    600 (this color)

    #338AA4

    oklch(59.3% 0.09 221.3)

  8. Step 700

    700

    #156B82

    oklch(49.1% 0.084 221.1)

  9. Step 800

    800

    #16576A

    oklch(42.6% 0.07 221.9)

  10. Step 900

    900

    #1B4856

    oklch(37.7% 0.054 221.6)

  11. Step 950

    950

    #112A32

    oklch(26.9% 0.034 221.3)

Export this scale for Tailwind in the Tailwind colors tool

#338AA4 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)#7B87A50.074
Deuteranopia (no green cones)#6B7BA40.066
Tritanopia (no blue cones)#0092920.046
Achromatopsia (no color)#8080800.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #338AA4

    #338AA4

    oklch(59.3% 0.09 221.3)

  • #AC6B53

    #AC6B53

    oklch(59.3% 0.091 41)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338AA4

    #338AA4

    oklch(59.3% 0.09 221.3)

  • #298F8B

    #298F8B

    oklch(59.3% 0.09 191.1)

  • #5481B2

    #5481B2

    oklch(59.2% 0.09 251.5)

Open the analogous palette in the generator

Split complementary

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

  • #338AA4

    #338AA4

    oklch(59.3% 0.09 221.3)

  • #AC6770

    #AC6770

    oklch(59.2% 0.089 11.7)

  • #A0753D

    #A0753D

    oklch(59.4% 0.091 71.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338AA4

    #338AA4

    oklch(59.3% 0.09 221.3)

  • #A3688E

    #A3688E

    oklch(59.3% 0.091 341.2)

  • #89803B

    #89803B

    oklch(59.3% 0.091 101.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338AA4

    #338AA4

    oklch(59.3% 0.09 221.3)

  • #906EA5

    #906EA5

    oklch(59.2% 0.09 312)

  • #AC6B53

    #AC6B53

    oklch(59.3% 0.091 41)

  • #6B894F

    #6B894F

    oklch(59.2% 0.09 131)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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