#338FB4

Closest named color: Blue NCS (#118AB2). oklch(61.2% 0.101 228.8), rgb(51, 143, 180).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.101)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.72:1
White text3.66:1

Values

HEX#338FB4
RGBrgb(51, 143, 180)
HSLhsl(197, 56%, 45%)
OKLCHoklch(61.2% 0.101 228.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 #338FB4 3.66:1 AA large text Lc -69.4 Content text, not long reading
Black text on #338FB4 5.72:1 AA Lc 40.1 Non-text elements, placeholder text
#338FB4 text on white 3.66:1 AA large text Lc 63.9 Content text, not long reading
#338FB4 text on black 5.72:1 AA Lc -37.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

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C7DDE8

    oklch(88.5% 0.028 229.2)

  4. Step 300

    300

    #A0C7DA

    oklch(80.8% 0.049 229.1)

  5. Step 400

    400

    #69AAC8

    oklch(70.6% 0.08 229.1)

  6. Step 500

    500 (this color)

    #338FB4

    oklch(61.2% 0.101 228.8)

  7. Step 600

    600

    #007EA6

    oklch(55.5% 0.11 229.3)

  8. Step 700

    700

    #006A8C

    oklch(49% 0.097 229.1)

  9. Step 800

    800

    #005773

    oklch(42.7% 0.084 228.5)

  10. Step 900

    900

    #10485D

    oklch(37.7% 0.066 228.2)

  11. Step 950

    950

    #0C2A37

    oklch(26.9% 0.043 229.9)

Export this scale for Tailwind in the Tailwind colors tool

#338FB4 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)#7C8DB60.072
Deuteranopia (no green cones)#6A80B40.062
Tritanopia (no blue cones)#00999B0.058
Achromatopsia (no color)#8585850.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FB4

    #338FB4

    oklch(61.2% 0.101 228.8)

  • #B5704B

    #B5704B

    oklch(61.2% 0.102 48.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FB4

    #338FB4

    oklch(61.2% 0.101 228.8)

  • #11969A

    #11969A

    oklch(61.2% 0.101 198.3)

  • #5E85C0

    #5E85C0

    oklch(61.3% 0.1 258.4)

Open the analogous palette in the generator

Split complementary

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

  • #338FB4

    #338FB4

    oklch(61.2% 0.101 228.8)

  • #B96A6C

    #B96A6C

    oklch(61.3% 0.101 18.8)

  • #A47C35

    #A47C35

    oklch(61.2% 0.101 79.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FB4

    #338FB4

    oklch(61.2% 0.101 228.8)

  • #B16A8E

    #B16A8E

    oklch(61.3% 0.101 348.7)

  • #89883A

    #89883A

    oklch(61.1% 0.101 108.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FB4

    #338FB4

    oklch(61.2% 0.101 228.8)

  • #9E70AB

    #9E70AB

    oklch(61.3% 0.101 318.6)

  • #B5704B

    #B5704B

    oklch(61.2% 0.102 48.3)

  • #649256

    #649256

    oklch(61.1% 0.1 138.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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