#338BEC

Closest named color: Dark Sky Blue (#448EE4). oklch(63.3% 0.168 253.8), rgb(51, 139, 236).

Aa

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

About this color

#338BEC is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.168 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.04:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.168)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text6.04:1
White text3.47:1

Values

HEX#338BEC
RGBrgb(51, 139, 236)
HSLhsl(211, 83%, 56%)
OKLCHoklch(63.3% 0.168 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 #338BEC 3.47:1 AA large text Lc -67.3 Content text, not long reading
Black text on #338BEC 6.04:1 AA Lc 42.2 Non-text elements, placeholder text
#338BEC text on white 3.47:1 AA large text Lc 61.8 Content text, not long reading
#338BEC text on black 6.04:1 AA Lc -39.9 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

    #C5DBF7

    oklch(88.4% 0.045 254.5)

  4. Step 300

    300

    #9CC4F5

    oklch(80.9% 0.082 253.8)

  5. Step 400

    400

    #63A4F0

    oklch(70.8% 0.131 253.4)

  6. Step 500

    500 (this color)

    #338BEC

    oklch(63.3% 0.168 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

    #0B4179

    oklch(37.5% 0.109 253.9)

  11. Step 950

    950

    #0A2747

    oklch(27.1% 0.069 253.6)

Export this scale for Tailwind in the Tailwind colors tool

#338BEC 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)#5B93F00.042
Deuteranopia (no green cones)#3B82EA0.023
Tritanopia (no blue cones)#00A2B00.126
Achromatopsia (no color)#8A8A8A0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #338BEC

    #338BEC

    oklch(63.3% 0.168 253.8)

  • #BA7B00

    #BA7B00

    oklch(63.3% 0.134 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338BEC

    #338BEC

    oklch(63.3% 0.168 253.8)

  • #0099BF

    #0099BF

    oklch(63.4% 0.119 223.6)

  • #8078EB

    #8078EB

    oklch(63.4% 0.168 283.7)

Open the analogous palette in the generator

Split complementary

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

  • #338BEC

    #338BEC

    oklch(63.3% 0.168 253.8)

  • #DA6123

    #DA6123

    oklch(63.4% 0.168 43.9)

  • #988D00

    #988D00

    oklch(63.3% 0.134 104)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338BEC

    #338BEC

    oklch(63.3% 0.168 253.8)

  • #DC566B

    #DC566B

    oklch(63.3% 0.168 13.8)

  • #5D9F20

    #5D9F20

    oklch(63.4% 0.168 133.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338BEC

    #338BEC

    oklch(63.3% 0.168 253.8)

  • #CD5AA3

    #CD5AA3

    oklch(63.4% 0.167 344)

  • #BA7B00

    #BA7B00

    oklch(63.3% 0.134 73.4)

  • #00A373

    #00A373

    oklch(63.3% 0.136 163.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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