#338FB1

Closest named color: Blue NCS (#118AB2). oklch(61.1% 0.099 226.6), rgb(51, 143, 177).

Aa

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

About this color

#338FB1 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 61%, its chroma 0.099 and its hue 227°. 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.70:1.

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

Values

HEX#338FB1
RGBrgb(51, 143, 177)
HSLhsl(196, 55%, 45%)
OKLCHoklch(61.1% 0.099 226.6)

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 #338FB1 3.68:1 AA large text Lc -69.6 Content text, not long reading
Black text on #338FB1 5.70:1 AA Lc 40.0 Non-text elements, placeholder text
#338FB1 text on white 3.68:1 AA large text Lc 64.1 Content text, not long reading
#338FB1 text on black 5.70:1 AA Lc -37.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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF1

    oklch(93.6% 0.014 226.6)

  3. Step 200

    200

    #C8DDE7

    oklch(88.5% 0.026 227.9)

  4. Step 300

    300

    #A0C8D9

    oklch(81% 0.049 225.7)

  5. Step 400

    400

    #6AABC6

    oklch(70.8% 0.077 226.4)

  6. Step 500

    500 (this color)

    #338FB1

    oklch(61.1% 0.099 226.6)

  7. Step 600

    600

    #007FA3

    oklch(55.6% 0.107 226.4)

  8. Step 700

    700

    #006B8A

    oklch(49.2% 0.095 226.5)

  9. Step 800

    800

    #005771

    oklch(42.6% 0.082 226.6)

  10. Step 900

    900

    #11485C

    oklch(37.7% 0.064 227.2)

  11. Step 950

    950

    #0D2A36

    oklch(26.9% 0.041 228.4)

Export this scale for Tailwind in the Tailwind colors tool

#338FB1 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)#7D8CB30.074
Deuteranopia (no green cones)#6B80B10.064
Tritanopia (no blue cones)#00999A0.056
Achromatopsia (no color)#8585850.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FB1

    #338FB1

    oklch(61.1% 0.099 226.6)

  • #B4704E

    #B4704E

    oklch(61.1% 0.099 46.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FB1

    #338FB1

    oklch(61.1% 0.099 226.6)

  • #1B9597

    #1B9597

    oklch(61% 0.098 196.6)

  • #5C85BE

    #5C85BE

    oklch(61.1% 0.098 256.8)

Open the analogous palette in the generator

Split complementary

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

  • #338FB1

    #338FB1

    oklch(61.1% 0.099 226.6)

  • #B76A6E

    #B76A6E

    oklch(61.1% 0.099 17.1)

  • #A57B38

    #A57B38

    oklch(61.1% 0.099 76.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FB1

    #338FB1

    oklch(61.1% 0.099 226.6)

  • #AE6A8F

    #AE6A8F

    oklch(61% 0.099 346.6)

  • #8B873B

    #8B873B

    oklch(61.1% 0.098 106.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FB1

    #338FB1

    oklch(61.1% 0.099 226.6)

  • #9B70AB

    #9B70AB

    oklch(61% 0.099 316.6)

  • #B4704E

    #B4704E

    oklch(61.1% 0.099 46.9)

  • #679155

    #679155

    oklch(61.1% 0.098 136.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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