#338BD3

Closest named color: Water Blue (#0E87CC). oklch(61.9% 0.137 247.3), rgb(51, 139, 211).

Aa

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

About this color

#338BD3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.137 and its hue 247°. 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.77:1.

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

Values

HEX#338BD3
RGBrgb(51, 139, 211)
HSLhsl(207, 65%, 51%)
OKLCHoklch(61.9% 0.137 247.3)

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 #338BD3 3.63:1 AA large text Lc -69.1 Content text, not long reading
Black text on #338BD3 5.77:1 AA Lc 40.5 Non-text elements, placeholder text
#338BD3 text on white 3.63:1 AA large text Lc 63.6 Content text, not long reading
#338BD3 text on black 5.77:1 AA Lc -38.1 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

    #67A6E0

    oklch(70.6% 0.108 247.6)

  6. Step 500

    500 (this color)

    #338BD3

    oklch(61.9% 0.137 247.3)

  7. Step 600

    600

    #0078C4

    oklch(55.7% 0.147 247.1)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900

    #0F446E

    oklch(37.6% 0.09 247.6)

  11. Step 950

    950

    #0C2840

    oklch(26.9% 0.056 247.6)

Export this scale for Tailwind in the Tailwind colors tool

#338BD3 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)#6A8ED60.052
Deuteranopia (no green cones)#537FD20.038
Tritanopia (no blue cones)#009CA50.098
Achromatopsia (no color)#8686860.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #338BD3

    #338BD3

    oklch(61.9% 0.137 247.3)

  • #BB7300

    #BB7300

    oklch(61.9% 0.136 67.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338BD3

    #338BD3

    oklch(61.9% 0.137 247.3)

  • #0095B1

    #0095B1

    oklch(61.8% 0.111 217.4)

  • #727CD7

    #727CD7

    oklch(61.9% 0.137 276.9)

Open the analogous palette in the generator

Split complementary

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

  • #338BD3

    #338BD3

    oklch(61.9% 0.137 247.3)

  • #CA6446

    #CA6446

    oklch(61.9% 0.137 37.2)

  • #9B8500

    #9B8500

    oklch(61.8% 0.128 97.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338BD3

    #338BD3

    oklch(61.9% 0.137 247.3)

  • #C85E77

    #C85E77

    oklch(61.8% 0.137 7.1)

  • #6F942D

    #6F942D

    oklch(61.8% 0.137 127.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338BD3

    #338BD3

    oklch(61.9% 0.137 247.3)

  • #B962A3

    #B962A3

    oklch(61.9% 0.138 337.5)

  • #BB7300

    #BB7300

    oklch(61.9% 0.136 67.4)

  • #219E64

    #219E64

    oklch(62% 0.137 157.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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