#338CEE

Closest named color: Dark Sky Blue (#448EE4). oklch(63.7% 0.169 253.8), rgb(51, 140, 238).

Aa

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

About this color

#338CEE is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.169 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.020 away. Black text reads best on it, at 6.12:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.169)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text6.12:1
White text3.42:1

Values

HEX#338CEE
RGBrgb(51, 140, 238)
HSLhsl(211, 85%, 57%)
OKLCHoklch(63.7% 0.169 253.8)

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 #338CEE 3.42:1 AA large text Lc -66.8 Content text, not long reading
Black text on #338CEE 6.12:1 AA Lc 42.7 Non-text elements, placeholder text
#338CEE text on white 3.42:1 AA large text Lc 61.3 Content text, not long reading
#338CEE text on black 6.12:1 AA Lc -40.4 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBFA

    oklch(93.6% 0.024 254)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9CC4F5

    oklch(80.9% 0.082 253.8)

  5. Step 400

    400

    #63A4F1

    oklch(70.8% 0.132 253.7)

  6. Step 500

    500 (this color)

    #338CEE

    oklch(63.7% 0.169 253.8)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #0A417A

    oklch(37.6% 0.111 254)

  11. Step 950

    950

    #092747

    oklch(27% 0.069 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#338CEE 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)#5C94F20.042
Deuteranopia (no green cones)#3A83EC0.023
Tritanopia (no blue cones)#00A3B10.127
Achromatopsia (no color)#8B8B8B0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #338CEE

    #338CEE

    oklch(63.7% 0.169 253.8)

  • #BB7C00

    #BB7C00

    oklch(63.6% 0.135 73.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338CEE

    #338CEE

    oklch(63.7% 0.169 253.8)

  • #009AC0

    #009AC0

    oklch(63.7% 0.119 223.5)

  • #8178EC

    #8178EC

    oklch(63.6% 0.169 284)

Open the analogous palette in the generator

Split complementary

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

  • #338CEE

    #338CEE

    oklch(63.7% 0.169 253.8)

  • #DB6123

    #DB6123

    oklch(63.6% 0.169 43.7)

  • #9A8E00

    #9A8E00

    oklch(63.7% 0.134 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338CEE

    #338CEE

    oklch(63.7% 0.169 253.8)

  • #DE576C

    #DE576C

    oklch(63.8% 0.169 13.9)

  • #5EA020

    #5EA020

    oklch(63.7% 0.169 133.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338CEE

    #338CEE

    oklch(63.7% 0.169 253.8)

  • #CE5AA4

    #CE5AA4

    oklch(63.6% 0.169 343.8)

  • #BB7C00

    #BB7C00

    oklch(63.6% 0.135 73.6)

  • #00A474

    #00A474

    oklch(63.6% 0.136 163.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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