#338EDC

Closest named color: Dark Sky Blue (#448EE4). oklch(63.1% 0.145 248.5), rgb(51, 142, 220).

Aa

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

About this color

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

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

Values

HEX#338EDC
RGBrgb(51, 142, 220)
HSLhsl(208, 71%, 53%)
OKLCHoklch(63.1% 0.145 248.5)

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 #338EDC 3.47:1 AA large text Lc -67.4 Content text, not long reading
Black text on #338EDC 6.04:1 AA Lc 42.2 Non-text elements, placeholder text
#338EDC text on white 3.47:1 AA large text Lc 61.9 Content text, not long reading
#338EDC text on black 6.04:1 AA Lc -39.8 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF3

    oklch(88.5% 0.04 249.5)

  4. Step 300

    300

    #9DC5ED

    oklch(80.9% 0.071 248.7)

  5. Step 400

    400

    #65A6E4

    oklch(70.7% 0.113 248.6)

  6. Step 500

    500 (this color)

    #338EDC

    oklch(63.1% 0.145 248.5)

  7. Step 600

    600

    #0077C7

    oklch(55.7% 0.152 248.5)

  8. Step 700

    700

    #0064A8

    oklch(49.2% 0.133 248.3)

  9. Step 800

    800

    #00518B

    oklch(42.6% 0.117 248.8)

  10. Step 900

    900

    #0C4471

    oklch(37.8% 0.094 248.5)

  11. Step 950

    950

    #0A2842

    oklch(27% 0.06 248.4)

Export this scale for Tailwind in the Tailwind colors tool

#338EDC 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)#6A92DF0.051
Deuteranopia (no green cones)#5183DA0.034
Tritanopia (no blue cones)#00A1AB0.105
Achromatopsia (no color)#8A8A8A0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #338EDC

    #338EDC

    oklch(63.1% 0.145 248.5)

  • #BE7700

    #BE7700

    oklch(63% 0.138 68.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338EDC

    #338EDC

    oklch(63.1% 0.145 248.5)

  • #0099B7

    #0099B7

    oklch(63.1% 0.114 218.3)

  • #777DDF

    #777DDF

    oklch(63% 0.146 278.7)

Open the analogous palette in the generator

Split complementary

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

  • #338EDC

    #338EDC

    oklch(63.1% 0.145 248.5)

  • #D16543

    #D16543

    oklch(63% 0.145 38.1)

  • #9E8900

    #9E8900

    oklch(63% 0.13 98.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338EDC

    #338EDC

    oklch(63.1% 0.145 248.5)

  • #D05F78

    #D05F78

    oklch(63.1% 0.144 8.3)

  • #6F992B

    #6F992B

    oklch(63% 0.144 128.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338EDC

    #338EDC

    oklch(63.1% 0.145 248.5)

  • #C063A7

    #C063A7

    oklch(63.1% 0.145 338.3)

  • #BE7700

    #BE7700

    oklch(63% 0.138 68.8)

  • #08A367

    #08A367

    oklch(63.1% 0.145 158.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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