#338DD7

Closest named color: Dark Sky Blue (#448EE4). oklch(62.5% 0.14 247.5), rgb(51, 141, 215).

Aa

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

About this color

#338DD7 is a medium-light, moderately saturated blue. In OKLCH its lightness is 63%, its chroma 0.140 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.024 away. Black text reads best on it, at 5.93:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromamoderately saturated (0.140)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text5.93:1
White text3.54:1

Values

HEX#338DD7
RGBrgb(51, 141, 215)
HSLhsl(207, 67%, 52%)
OKLCHoklch(62.5% 0.14 247.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 #338DD7 3.54:1 AA large text Lc -68.1 Content text, not long reading
Black text on #338DD7 5.93:1 AA Lc 41.5 Non-text elements, placeholder text
#338DD7 text on white 3.54:1 AA large text Lc 62.6 Content text, not long reading
#338DD7 text on black 5.93:1 AA Lc -39.1 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

    #66A6E1

    oklch(70.6% 0.109 247.7)

  6. Step 500

    500 (this color)

    #338DD7

    oklch(62.5% 0.14 247.5)

  7. Step 600

    600

    #0077C4

    oklch(55.5% 0.148 247.6)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900

    #0D446F

    oklch(37.6% 0.091 247.7)

  11. Step 950

    950

    #0B2841

    oklch(26.9% 0.058 248)

Export this scale for Tailwind in the Tailwind colors tool

#338DD7 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)#6B90DA0.052
Deuteranopia (no green cones)#5381D60.038
Tritanopia (no blue cones)#009FA80.101
Achromatopsia (no color)#8888880.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DD7

    #338DD7

    oklch(62.5% 0.14 247.5)

  • #BD7500

    #BD7500

    oklch(62.5% 0.137 67.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DD7

    #338DD7

    oklch(62.5% 0.14 247.5)

  • #0097B4

    #0097B4

    oklch(62.4% 0.112 217.8)

  • #747DDA

    #747DDA

    oklch(62.5% 0.139 277.4)

Open the analogous palette in the generator

Split complementary

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

  • #338DD7

    #338DD7

    oklch(62.5% 0.14 247.5)

  • #CD6546

    #CD6546

    oklch(62.5% 0.14 37.4)

  • #9D8700

    #9D8700

    oklch(62.5% 0.129 97.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DD7

    #338DD7

    oklch(62.5% 0.14 247.5)

  • #CC5F78

    #CC5F78

    oklch(62.5% 0.14 7.6)

  • #70972D

    #70972D

    oklch(62.6% 0.14 127.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DD7

    #338DD7

    oklch(62.5% 0.14 247.5)

  • #BC63A6

    #BC63A6

    oklch(62.5% 0.141 337.2)

  • #BD7500

    #BD7500

    oklch(62.5% 0.137 67.9)

  • #1DA065

    #1DA065

    oklch(62.5% 0.14 157.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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