#338FC6

Closest named color: Water Blue (#0E87CC). oklch(62.1% 0.119 239.4), rgb(51, 143, 198).

Aa

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

About this color

#338FC6 is a medium-light, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.119 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.032 away. Black text reads best on it, at 5.88:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.88:1
White text3.56:1

Values

HEX#338FC6
RGBrgb(51, 143, 198)
HSLhsl(202, 59%, 49%)
OKLCHoklch(62.1% 0.119 239.4)

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 #338FC6 3.56:1 AA large text Lc -68.4 Content text, not long reading
Black text on #338FC6 5.88:1 AA Lc 41.1 Non-text elements, placeholder text
#338FC6 text on white 3.56:1 AA large text Lc 62.9 Content text, not long reading
#338FC6 text on black 5.88:1 AA Lc -38.8 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C7DDED

    oklch(88.6% 0.032 239.4)

  4. Step 300

    300

    #9FC6E3

    oklch(80.8% 0.058 240.6)

  5. Step 400

    400

    #67A9D5

    oklch(70.8% 0.093 239.2)

  6. Step 500

    500 (this color)

    #338FC6

    oklch(62.1% 0.119 239.4)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006899

    oklch(49.2% 0.111 239.3)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #0E4666

    oklch(37.6% 0.078 239.7)

  11. Step 950

    950

    #0B293C

    oklch(26.9% 0.05 240.3)

Export this scale for Tailwind in the Tailwind colors tool

#338FC6 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)#758FC80.063
Deuteranopia (no green cones)#6181C50.051
Tritanopia (no blue cones)#009DA20.080
Achromatopsia (no color)#8888880.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FC6

    #338FC6

    oklch(62.1% 0.119 239.4)

  • #BA7333

    #BA7333

    oklch(62% 0.119 59.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FC6

    #338FC6

    oklch(62.1% 0.119 239.4)

  • #0098A9

    #0098A9

    oklch(62.2% 0.107 208.7)

  • #6A82CE

    #6A82CE

    oklch(62.1% 0.119 269.5)

Open the analogous palette in the generator

Split complementary

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

  • #338FC6

    #338FC6

    oklch(62.1% 0.119 239.4)

  • #C4685B

    #C4685B

    oklch(62.1% 0.12 29.3)

  • #A3821B

    #A3821B

    oklch(62.1% 0.119 89.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FC6

    #338FC6

    oklch(62.1% 0.119 239.4)

  • #BF6684

    #BF6684

    oklch(62.1% 0.118 359.6)

  • #7E9035

    #7E9035

    oklch(62% 0.118 119.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FC6

    #338FC6

    oklch(62.1% 0.119 239.4)

  • #AE6BA9

    #AE6BA9

    oklch(62.2% 0.119 329.6)

  • #BA7333

    #BA7333

    oklch(62% 0.119 59.5)

  • #4C9A5E

    #4C9A5E

    oklch(62.1% 0.119 149.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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