#338FD8

Closest named color: Dark Sky Blue (#448EE4). oklch(63.1% 0.139 246.7), rgb(51, 143, 216).

Aa

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

About this color

#338FD8 is a medium-light, moderately saturated blue. In OKLCH its lightness is 63%, its chroma 0.139 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.023 away. Black text reads best on it, at 6.06:1.

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

Values

HEX#338FD8
RGBrgb(51, 143, 216)
HSLhsl(207, 68%, 52%)
OKLCHoklch(63.1% 0.139 246.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 #338FD8 3.46:1 AA large text Lc -67.3 Content text, not long reading
Black text on #338FD8 6.06:1 AA Lc 42.3 Non-text elements, placeholder text
#338FD8 text on white 3.46:1 AA large text Lc 61.8 Content text, not long reading
#338FD8 text on black 6.06:1 AA Lc -39.9 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

    #C6DCF1

    oklch(88.5% 0.037 247)

  4. Step 300

    300

    #9DC6EB

    oklch(81% 0.068 246)

  5. Step 400

    400

    #65A7E1

    oklch(70.8% 0.109 246.6)

  6. Step 500

    500 (this color)

    #338FD8

    oklch(63.1% 0.139 246.7)

  7. Step 600

    600

    #0078C2

    oklch(55.6% 0.145 246.5)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #005288

    oklch(42.7% 0.112 246.9)

  10. Step 900

    900

    #0C446F

    oklch(37.6% 0.092 247.5)

  11. Step 950

    950

    #0A2841

    oklch(26.9% 0.058 247.4)

Export this scale for Tailwind in the Tailwind colors tool

#338FD8 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)#6D92DB0.054
Deuteranopia (no green cones)#5683D70.039
Tritanopia (no blue cones)#00A1A90.101
Achromatopsia (no color)#8A8A8A0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FD8

    #338FD8

    oklch(63.1% 0.139 246.7)

  • #C07602

    #C07602

    oklch(63.1% 0.139 67.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FD8

    #338FD8

    oklch(63.1% 0.139 246.7)

  • #0099B5

    #0099B5

    oklch(63% 0.112 216.9)

  • #757FDC

    #757FDC

    oklch(63% 0.139 277)

Open the analogous palette in the generator

Split complementary

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

  • #338FD8

    #338FD8

    oklch(63.1% 0.139 246.7)

  • #CF6749

    #CF6749

    oklch(63.1% 0.139 36.9)

  • #A08800

    #A08800

    oklch(63% 0.13 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FD8

    #338FD8

    oklch(63.1% 0.139 246.7)

  • #CD617B

    #CD617B

    oklch(63% 0.139 6.8)

  • #73982E

    #73982E

    oklch(63.1% 0.139 126.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FD8

    #338FD8

    oklch(63.1% 0.139 246.7)

  • #BD65A8

    #BD65A8

    oklch(63% 0.14 336.8)

  • #C07602

    #C07602

    oklch(63.1% 0.139 67.1)

  • #25A266

    #25A266

    oklch(63.2% 0.139 156.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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