#338DCC

Closest named color: Water Blue (#0E87CC). oklch(61.9% 0.127 243.5), rgb(51, 141, 204).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.82:1
White text3.60:1

Values

HEX#338DCC
RGBrgb(51, 141, 204)
HSLhsl(205, 60%, 50%)
OKLCHoklch(61.9% 0.127 243.5)

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 #338DCC 3.60:1 AA large text Lc -68.8 Content text, not long reading
Black text on #338DCC 5.82:1 AA Lc 40.8 Non-text elements, placeholder text
#338DCC text on white 3.60:1 AA large text Lc 63.3 Content text, not long reading
#338DCC text on black 5.82:1 AA Lc -38.4 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0ECF5

    oklch(93.7% 0.018 240)

  3. Step 200

    200

    #C7DCEF

    oklch(88.5% 0.035 245.5)

  4. Step 300

    300

    #9FC6E6

    oklch(80.9% 0.062 243.3)

  5. Step 400

    400

    #67A8DA

    oklch(70.8% 0.099 243)

  6. Step 500

    500 (this color)

    #338DCC

    oklch(61.9% 0.127 243.5)

  7. Step 600

    600

    #007ABC

    oklch(55.7% 0.136 243.3)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800

    #005383

    oklch(42.6% 0.105 243.8)

  10. Step 900

    900

    #0F456A

    oklch(37.6% 0.083 244.1)

  11. Step 950

    950

    #0C293E

    oklch(27.1% 0.052 243.5)

Export this scale for Tailwind in the Tailwind colors tool

#338DCC 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)#708FCF0.058
Deuteranopia (no green cones)#5B80CB0.045
Tritanopia (no blue cones)#009CA30.088
Achromatopsia (no color)#8787870.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DCC

    #338DCC

    oklch(61.9% 0.127 243.5)

  • #BA7323

    #BA7323

    oklch(61.9% 0.127 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DCC

    #338DCC

    oklch(61.9% 0.127 243.5)

  • #0096AD

    #0096AD

    oklch(61.9% 0.109 213.5)

  • #6E7FD2

    #6E7FD2

    oklch(62% 0.127 273.4)

Open the analogous palette in the generator

Split complementary

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

  • #338DCC

    #338DCC

    oklch(61.9% 0.127 243.5)

  • #C66652

    #C66652

    oklch(61.9% 0.127 33)

  • #A08300

    #A08300

    oklch(61.9% 0.127 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DCC

    #338DCC

    oklch(61.9% 0.127 243.5)

  • #C3627E

    #C3627E

    oklch(61.9% 0.127 3.2)

  • #779231

    #779231

    oklch(61.9% 0.127 123.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DCC

    #338DCC

    oklch(61.9% 0.127 243.5)

  • #B367A6

    #B367A6

    oklch(62% 0.127 333.6)

  • #BA7323

    #BA7323

    oklch(61.9% 0.127 63.7)

  • #3C9C61

    #3C9C61

    oklch(62.1% 0.127 153.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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