#338BD2

Closest named color: Water Blue (#0E87CC). oklch(61.8% 0.136 246.9), rgb(51, 139, 210).

Aa

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

About this color

#338BD2 is a medium-dark, 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.023 away. Black text reads best on it, at 5.76:1.

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

Values

HEX#338BD2
RGBrgb(51, 139, 210)
HSLhsl(207, 64%, 51%)
OKLCHoklch(61.8% 0.136 246.9)

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 #338BD2 3.64:1 AA large text Lc -69.1 Content text, not long reading
Black text on #338BD2 5.76:1 AA Lc 40.4 Non-text elements, placeholder text
#338BD2 text on white 3.64:1 AA large text Lc 63.6 Content text, not long reading
#338BD2 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

    #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)

    #338BD2

    oklch(61.8% 0.136 246.9)

  7. Step 600

    600

    #0078C3

    oklch(55.7% 0.146 246.8)

  8. Step 700

    700

    #0064A5

    oklch(49% 0.13 247.2)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #0F446D

    oklch(37.6% 0.088 247)

  11. Step 950

    950

    #0C2840

    oklch(26.9% 0.056 247.6)

Export this scale for Tailwind in the Tailwind colors tool

#338BD2 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)#6A8ED50.052
Deuteranopia (no green cones)#537FD10.038
Tritanopia (no blue cones)#009CA50.097
Achromatopsia (no color)#8686860.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #338BD2

    #338BD2

    oklch(61.8% 0.136 246.9)

  • #BB7304

    #BB7304

    oklch(61.9% 0.136 67.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338BD2

    #338BD2

    oklch(61.8% 0.136 246.9)

  • #0095B1

    #0095B1

    oklch(61.8% 0.111 217.4)

  • #727CD6

    #727CD6

    oklch(61.9% 0.135 276.9)

Open the analogous palette in the generator

Split complementary

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

  • #338BD2

    #338BD2

    oklch(61.8% 0.136 246.9)

  • #C96447

    #C96447

    oklch(61.8% 0.136 36.9)

  • #9B8500

    #9B8500

    oklch(61.8% 0.128 97.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338BD2

    #338BD2

    oklch(61.8% 0.136 246.9)

  • #C85F78

    #C85F78

    oklch(61.9% 0.135 6.9)

  • #70942E

    #70942E

    oklch(61.9% 0.135 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338BD2

    #338BD2

    oklch(61.8% 0.136 246.9)

  • #B863A3

    #B863A3

    oklch(61.9% 0.135 337.1)

  • #BB7304

    #BB7304

    oklch(61.9% 0.136 67.1)

  • #249D63

    #249D63

    oklch(61.7% 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 #338BD2, closest first.

Similar named colors

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

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