#338CCC

Closest named color: Water Blue (#0E87CC). oklch(61.7% 0.128 244.1), rgb(51, 140, 204).

Aa

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

About this color

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

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

Values

HEX#338CCC
RGBrgb(51, 140, 204)
HSLhsl(205, 60%, 50%)
OKLCHoklch(61.7% 0.128 244.1)

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 #338CCC 3.64:1 AA large text Lc -69.2 Content text, not long reading
Black text on #338CCC 5.76:1 AA Lc 40.4 Non-text elements, placeholder text
#338CCC text on white 3.64:1 AA large text Lc 63.7 Content text, not long reading
#338CCC text on black 5.76:1 AA Lc -38.0 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

    #9FC6E7

    oklch(81% 0.063 244.2)

  5. Step 400

    400

    #68A7DB

    oklch(70.7% 0.1 244.8)

  6. Step 500

    500 (this color)

    #338CCC

    oklch(61.7% 0.128 244.1)

  7. Step 600

    600

    #0079BD

    oklch(55.5% 0.138 244.2)

  8. Step 700

    700

    #0066A0

    oklch(49.2% 0.121 244)

  9. Step 800

    800

    #005384

    oklch(42.6% 0.106 244.3)

  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

#338CCC 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)#6E8ECF0.056
Deuteranopia (no green cones)#5980CB0.042
Tritanopia (no blue cones)#009CA30.090
Achromatopsia (no color)#8686860.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #338CCC

    #338CCC

    oklch(61.7% 0.128 244.1)

  • #B97220

    #B97220

    oklch(61.6% 0.127 64)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338CCC

    #338CCC

    oklch(61.7% 0.128 244.1)

  • #0095AD

    #0095AD

    oklch(61.6% 0.109 214.4)

  • #6E7ED1

    #6E7ED1

    oklch(61.7% 0.127 273.9)

Open the analogous palette in the generator

Split complementary

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

  • #338CCC

    #338CCC

    oklch(61.7% 0.128 244.1)

  • #C66650

    #C66650

    oklch(61.8% 0.127 34.1)

  • #9E8300

    #9E8300

    oklch(61.7% 0.127 94.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338CCC

    #338CCC

    oklch(61.7% 0.128 244.1)

  • #C3617C

    #C3617C

    oklch(61.6% 0.128 4.1)

  • #759231

    #759231

    oklch(61.8% 0.128 124.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338CCC

    #338CCC

    oklch(61.7% 0.128 244.1)

  • #B366A5

    #B366A5

    oklch(61.8% 0.128 334)

  • #B97220

    #B97220

    oklch(61.6% 0.127 64)

  • #389B61

    #389B61

    oklch(61.7% 0.127 154.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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