#338FD9

Closest named color: Dark Sky Blue (#448EE4). oklch(63.1% 0.14 247), rgb(51, 143, 217).

Aa

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

About this color

#338FD9 is a medium-light, vivid 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.022 away. Black text reads best on it, at 6.07:1.

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

Values

HEX#338FD9
RGBrgb(51, 143, 217)
HSLhsl(207, 69%, 53%)
OKLCHoklch(63.1% 0.14 247)

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 #338FD9 3.45:1 AA large text Lc -67.2 Content text, not long reading
Black text on #338FD9 6.07:1 AA Lc 42.3 Non-text elements, placeholder text
#338FD9 text on white 3.45:1 AA large text Lc 61.7 Content text, not long reading
#338FD9 text on black 6.07:1 AA Lc -40.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

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF2

    oklch(88.5% 0.038 248.3)

  4. Step 300

    300

    #9DC5EB

    oklch(80.8% 0.069 247.4)

  5. Step 400

    400

    #65A7E1

    oklch(70.8% 0.109 246.6)

  6. Step 500

    500 (this color)

    #338FD9

    oklch(63.1% 0.14 247)

  7. Step 600

    600

    #0078C3

    oklch(55.7% 0.146 246.8)

  8. Step 700

    700

    #0064A5

    oklch(49% 0.13 247.2)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #0B446F

    oklch(37.6% 0.092 247.3)

  11. Step 950

    950

    #0A2841

    oklch(26.9% 0.058 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#338FD9 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)#6D92DC0.054
Deuteranopia (no green cones)#5583D80.038
Tritanopia (no blue cones)#00A1AA0.101
Achromatopsia (no color)#8A8A8A0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FD9

    #338FD9

    oklch(63.1% 0.14 247)

  • #C07600

    #C07600

    oklch(63.1% 0.139 67.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FD9

    #338FD9

    oklch(63.1% 0.14 247)

  • #0099B6

    #0099B6

    oklch(63% 0.113 217.6)

  • #757FDD

    #757FDD

    oklch(63.1% 0.141 277)

Open the analogous palette in the generator

Split complementary

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

  • #338FD9

    #338FD9

    oklch(63.1% 0.14 247)

  • #CF6748

    #CF6748

    oklch(63.1% 0.139 37.4)

  • #A08900

    #A08900

    oklch(63.2% 0.13 97.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FD9

    #338FD9

    oklch(63.1% 0.14 247)

  • #CE617B

    #CE617B

    oklch(63.1% 0.14 7)

  • #72982D

    #72982D

    oklch(63% 0.14 127.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FD9

    #338FD9

    oklch(63.1% 0.14 247)

  • #BE65A8

    #BE65A8

    oklch(63.1% 0.141 337.2)

  • #C07600

    #C07600

    oklch(63.1% 0.139 67.3)

  • #22A266

    #22A266

    oklch(63.1% 0.14 157)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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