#338FD5

Closest named color: Dark Sky Blue (#448EE4). oklch(62.9% 0.136 245.7), rgb(51, 143, 213).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-light (63%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text6.03:1
White text3.48:1

Values

HEX#338FD5
RGBrgb(51, 143, 213)
HSLhsl(206, 66%, 52%)
OKLCHoklch(62.9% 0.136 245.7)

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 #338FD5 3.48:1 AA large text Lc -67.5 Content text, not long reading
Black text on #338FD5 6.03:1 AA Lc 42.1 Non-text elements, placeholder text
#338FD5 text on white 3.48:1 AA large text Lc 62.0 Content text, not long reading
#338FD5 text on black 6.03:1 AA Lc -39.7 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

    #E0ECF6

    oklch(93.7% 0.019 243)

  3. Step 200

    200

    #C6DCF1

    oklch(88.5% 0.037 247)

  4. Step 300

    300

    #9EC6E9

    oklch(81% 0.065 245.1)

  5. Step 400

    400

    #65A7DF

    oklch(70.7% 0.107 245.7)

  6. Step 500

    500 (this color)

    #338FD5

    oklch(62.9% 0.136 245.7)

  7. Step 600

    600

    #0078C0

    oklch(55.5% 0.142 245.8)

  8. Step 700

    700

    #0065A3

    oklch(49.1% 0.126 245.9)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #0C456D

    oklch(37.7% 0.088 245.4)

  11. Step 950

    950

    #0A2940

    oklch(27.1% 0.056 244.7)

Export this scale for Tailwind in the Tailwind colors tool

#338FD5 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)#6F92D80.056
Deuteranopia (no green cones)#5883D40.040
Tritanopia (no blue cones)#00A0A80.097
Achromatopsia (no color)#8989890.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FD5

    #338FD5

    oklch(62.9% 0.136 245.7)

  • #BF7512

    #BF7512

    oklch(62.8% 0.135 65.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FD5

    #338FD5

    oklch(62.9% 0.136 245.7)

  • #0099B3

    #0099B3

    oklch(62.9% 0.111 215.4)

  • #7380DA

    #7380DA

    oklch(63% 0.136 275.6)

Open the analogous palette in the generator

Split complementary

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

  • #338FD5

    #338FD5

    oklch(62.9% 0.136 245.7)

  • #CD674C

    #CD674C

    oklch(62.9% 0.136 35.8)

  • #A18700

    #A18700

    oklch(62.9% 0.129 95.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FD5

    #338FD5

    oklch(62.9% 0.136 245.7)

  • #CB627D

    #CB627D

    oklch(62.9% 0.136 5.5)

  • #75972F

    #75972F

    oklch(63% 0.136 125.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FD5

    #338FD5

    oklch(62.9% 0.136 245.7)

  • #BA66A8

    #BA66A8

    oklch(62.8% 0.136 335.6)

  • #BF7512

    #BF7512

    oklch(62.8% 0.135 65.6)

  • #2EA064

    #2EA064

    oklch(62.8% 0.136 155.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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