#338CD3

Closest named color: Water Blue (#0E87CC). oklch(62.1% 0.136 246.7), rgb(51, 140, 211).

Aa

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

About this color

#338CD3 is a medium-light, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.136 and its hue 247°. 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.83:1.

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

Values

HEX#338CD3
RGBrgb(51, 140, 211)
HSLhsl(207, 65%, 51%)
OKLCHoklch(62.1% 0.136 246.7)

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 #338CD3 3.60:1 AA large text Lc -68.7 Content text, not long reading
Black text on #338CD3 5.83:1 AA Lc 40.9 Non-text elements, placeholder text
#338CD3 text on white 3.60:1 AA large text Lc 63.2 Content text, not long reading
#338CD3 text on black 5.83:1 AA Lc -38.5 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

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C6DCF1

    oklch(88.5% 0.037 247)

  4. Step 300

    300

    #9EC5EA

    oklch(80.8% 0.067 247.3)

  5. Step 400

    400

    #67A7DF

    oklch(70.8% 0.106 246.4)

  6. Step 500

    500 (this color)

    #338CD3

    oklch(62.1% 0.136 246.7)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #0E446E

    oklch(37.6% 0.09 247.4)

  11. Step 950

    950

    #0B2840

    oklch(26.9% 0.056 247)

Export this scale for Tailwind in the Tailwind colors tool

#338CD3 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)#6B8FD60.053
Deuteranopia (no green cones)#5480D20.038
Tritanopia (no blue cones)#009DA60.097
Achromatopsia (no color)#8787870.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #338CD3

    #338CD3

    oklch(62.1% 0.136 246.7)

  • #BC7307

    #BC7307

    oklch(62.1% 0.136 66.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338CD3

    #338CD3

    oklch(62.1% 0.136 246.7)

  • #0096B1

    #0096B1

    oklch(62% 0.111 216.5)

  • #727DD7

    #727DD7

    oklch(62.1% 0.136 276.4)

Open the analogous palette in the generator

Split complementary

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

  • #338CD3

    #338CD3

    oklch(62.1% 0.136 246.7)

  • #CA6548

    #CA6548

    oklch(62.1% 0.136 36.9)

  • #9D8500

    #9D8500

    oklch(62% 0.128 96.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338CD3

    #338CD3

    oklch(62.1% 0.136 246.7)

  • #C95F79

    #C95F79

    oklch(62.1% 0.137 6.5)

  • #71952E

    #71952E

    oklch(62.2% 0.136 126.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338CD3

    #338CD3

    oklch(62.1% 0.136 246.7)

  • #B964A4

    #B964A4

    oklch(62.2% 0.135 337.1)

  • #BC7307

    #BC7307

    oklch(62.1% 0.136 66.5)

  • #269E64

    #269E64

    oklch(62.1% 0.136 156.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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