#338BD6

Closest named color: Water Blue (#0E87CC). oklch(62% 0.14 248.3), rgb(51, 139, 214).

Aa

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

About this color

#338BD6 is a medium-light, vivid blue. In OKLCH its lightness is 62%, its chroma 0.140 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.026 away. Black text reads best on it, at 5.80:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromavivid (0.140)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.80:1
White text3.61:1

Values

HEX#338BD6
RGBrgb(51, 139, 214)
HSLhsl(208, 67%, 52%)
OKLCHoklch(62% 0.14 248.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 #338BD6 3.61:1 AA large text Lc -68.9 Content text, not long reading
Black text on #338BD6 5.80:1 AA Lc 40.7 Non-text elements, placeholder text
#338BD6 text on white 3.61:1 AA large text Lc 63.4 Content text, not long reading
#338BD6 text on black 5.80:1 AA Lc -38.3 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

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF2

    oklch(88.5% 0.038 248.3)

  4. Step 300

    300

    #9EC5EB

    oklch(80.8% 0.068 248)

  5. Step 400

    400

    #67A6E2

    oklch(70.7% 0.11 248.5)

  6. Step 500

    500 (this color)

    #338BD6

    oklch(62% 0.14 248.3)

  7. Step 600

    600

    #0077C6

    oklch(55.6% 0.15 248.2)

  8. Step 700

    700

    #0064A8

    oklch(49.2% 0.133 248.3)

  9. Step 800

    800

    #00528A

    oklch(42.8% 0.115 247.8)

  10. Step 900

    900

    #0F446F

    oklch(37.7% 0.091 248.2)

  11. Step 950

    950

    #0B2841

    oklch(26.9% 0.058 248)

Export this scale for Tailwind in the Tailwind colors tool

#338BD6 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)#688FD90.050
Deuteranopia (no green cones)#5080D50.034
Tritanopia (no blue cones)#009DA60.103
Achromatopsia (no color)#8686860.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #338BD6

    #338BD6

    oklch(62% 0.14 248.3)

  • #BB7400

    #BB7400

    oklch(62.1% 0.136 68.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338BD6

    #338BD6

    oklch(62% 0.14 248.3)

  • #0096B3

    #0096B3

    oklch(62.1% 0.112 218)

  • #747BD9

    #747BD9

    oklch(62% 0.141 278.2)

Open the analogous palette in the generator

Split complementary

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

  • #338BD6

    #338BD6

    oklch(62% 0.14 248.3)

  • #CB6443

    #CB6443

    oklch(62% 0.139 38.3)

  • #9B8600

    #9B8600

    oklch(62% 0.128 98.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338BD6

    #338BD6

    oklch(62% 0.14 248.3)

  • #CB5D76

    #CB5D76

    oklch(62% 0.141 7.9)

  • #6D962C

    #6D962C

    oklch(62.2% 0.141 128.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338BD6

    #338BD6

    oklch(62% 0.14 248.3)

  • #BB61A3

    #BB61A3

    oklch(62% 0.141 338.2)

  • #BB7400

    #BB7400

    oklch(62.1% 0.136 68.1)

  • #139F65

    #139F65

    oklch(62.1% 0.141 158.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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