#338DD5

Closest named color: Dark Sky Blue (#448EE4). oklch(62.4% 0.137 246.8), rgb(51, 141, 213).

Aa

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

About this color

#338DD5 is a medium-light, moderately saturated blue. In OKLCH its lightness is 62%, its chroma 0.137 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.027 away. Black text reads best on it, at 5.91:1.

Hue familyBlues
Lightnessmedium-light (62%)
Chromamoderately saturated (0.137)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text5.91:1
White text3.55:1

Values

HEX#338DD5
RGBrgb(51, 141, 213)
HSLhsl(207, 66%, 52%)
OKLCHoklch(62.4% 0.137 246.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 #338DD5 3.55:1 AA large text Lc -68.2 Content text, not long reading
Black text on #338DD5 5.91:1 AA Lc 41.3 Non-text elements, placeholder text
#338DD5 text on white 3.55:1 AA large text Lc 62.7 Content text, not long reading
#338DD5 text on black 5.91:1 AA Lc -39.0 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

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C6DCF1

    oklch(88.5% 0.037 247)

  4. Step 300

    300

    #9EC5EA

    oklch(80.8% 0.067 247.3)

  5. Step 400

    400

    #66A7E0

    oklch(70.8% 0.107 246.5)

  6. Step 500

    500 (this color)

    #338DD5

    oklch(62.4% 0.137 246.8)

  7. Step 600

    600

    #0078C3

    oklch(55.7% 0.146 246.8)

  8. Step 700

    700

    #0065A5

    oklch(49.2% 0.128 246.7)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #0D446E

    oklch(37.6% 0.09 247.1)

  11. Step 950

    950

    #0B2840

    oklch(26.9% 0.056 247)

Export this scale for Tailwind in the Tailwind colors tool

#338DD5 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)#6C90D80.054
Deuteranopia (no green cones)#5481D40.038
Tritanopia (no blue cones)#009EA70.098
Achromatopsia (no color)#8888880.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DD5

    #338DD5

    oklch(62.4% 0.137 246.8)

  • #BD7403

    #BD7403

    oklch(62.4% 0.137 67)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DD5

    #338DD5

    oklch(62.4% 0.137 246.8)

  • #0097B3

    #0097B3

    oklch(62.4% 0.111 217.1)

  • #737DD9

    #737DD9

    oklch(62.3% 0.138 276.9)

Open the analogous palette in the generator

Split complementary

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

  • #338DD5

    #338DD5

    oklch(62.4% 0.137 246.8)

  • #CC6548

    #CC6548

    oklch(62.4% 0.138 36.6)

  • #9E8600

    #9E8600

    oklch(62.4% 0.128 96.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DD5

    #338DD5

    oklch(62.4% 0.137 246.8)

  • #CA6079

    #CA6079

    oklch(62.4% 0.136 7)

  • #71962E

    #71962E

    oklch(62.4% 0.137 127)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DD5

    #338DD5

    oklch(62.4% 0.137 246.8)

  • #BA64A6

    #BA64A6

    oklch(62.4% 0.138 336.5)

  • #BD7403

    #BD7403

    oklch(62.4% 0.137 67)

  • #259F65

    #259F65

    oklch(62.3% 0.136 157.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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