#338EB3

Closest named color: Blue NCS (#118AB2). oklch(60.9% 0.101 229), rgb(51, 142, 179).

Aa

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

About this color

#338EB3 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.020 away. Black text reads best on it, at 5.66:1.

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

Values

HEX#338EB3
RGBrgb(51, 142, 179)
HSLhsl(197, 56%, 45%)
OKLCHoklch(60.9% 0.101 229)

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 #338EB3 3.70:1 AA large text Lc -69.9 Content text, not long reading
Black text on #338EB3 5.66:1 AA Lc 39.7 Non-text elements, placeholder text
#338EB3 text on white 3.70:1 AA large text Lc 64.4 Content text, not long reading
#338EB3 text on black 5.66:1 AA Lc -37.3 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

    #C8DDE8

    oklch(88.5% 0.027 230.4)

  4. Step 300

    300

    #A0C7DA

    oklch(80.8% 0.049 229.1)

  5. Step 400

    400

    #6AAAC8

    oklch(70.6% 0.079 229.5)

  6. Step 500

    500 (this color)

    #338EB3

    oklch(60.9% 0.101 229)

  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

    #11485D

    oklch(37.7% 0.065 228.4)

  11. Step 950

    950

    #0D2A37

    oklch(27% 0.042 230.5)

Export this scale for Tailwind in the Tailwind colors tool

#338EB3 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)#7B8CB50.072
Deuteranopia (no green cones)#697FB20.061
Tritanopia (no blue cones)#00989A0.058
Achromatopsia (no color)#8585850.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #338EB3

    #338EB3

    oklch(60.9% 0.101 229)

  • #B4704A

    #B4704A

    oklch(61% 0.101 49.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338EB3

    #338EB3

    oklch(60.9% 0.101 229)

  • #11959A

    #11959A

    oklch(61% 0.101 199.1)

  • #5D84BF

    #5D84BF

    oklch(61% 0.1 258.4)

Open the analogous palette in the generator

Split complementary

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

  • #338EB3

    #338EB3

    oklch(60.9% 0.101 229)

  • #B8696B

    #B8696B

    oklch(61% 0.101 18.9)

  • #A37B34

    #A37B34

    oklch(60.8% 0.101 79.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338EB3

    #338EB3

    oklch(60.9% 0.101 229)

  • #B0698C

    #B0698C

    oklch(61% 0.101 349.6)

  • #88883A

    #88883A

    oklch(61% 0.101 109)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338EB3

    #338EB3

    oklch(60.9% 0.101 229)

  • #9D6FA9

    #9D6FA9

    oklch(61% 0.1 319.2)

  • #B4704A

    #B4704A

    oklch(61% 0.101 49.2)

  • #639256

    #639256

    oklch(61.1% 0.101 139.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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