#338FE3

Closest named color: Dark Sky Blue (#448EE4). oklch(63.7% 0.152 250), rgb(51, 143, 227).

Aa

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

About this color

#338FE3 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.152 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.012 away. Black text reads best on it, at 6.17:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.152)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text6.17:1
White text3.39:1

Values

HEX#338FE3
RGBrgb(51, 143, 227)
HSLhsl(209, 76%, 55%)
OKLCHoklch(63.7% 0.152 250)

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 #338FE3 3.39:1 AA large text Lc -66.5 Content text, not long reading
Black text on #338FE3 6.17:1 AA Lc 43.0 Non-text elements, placeholder text
#338FE3 text on white 3.39:1 AA large text Lc 61.1 Content text, not long reading
#338FE3 text on black 6.17:1 AA Lc -40.6 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF4

    oklch(88.5% 0.041 249.4)

  4. Step 300

    300

    #9CC5F0

    oklch(80.9% 0.075 250)

  5. Step 400

    400

    #63A5E8

    oklch(70.6% 0.12 250.2)

  6. Step 500

    500 (this color)

    #338FE3

    oklch(63.7% 0.152 250)

  7. Step 600

    600

    #0076CA

    oklch(55.7% 0.156 249.7)

  8. Step 700

    700

    #0063AB

    oklch(49.2% 0.138 249.7)

  9. Step 800

    800

    #00518E

    oklch(42.8% 0.121 249.9)

  10. Step 900

    900

    #0A4374

    oklch(37.7% 0.1 250.4)

  11. Step 950

    950

    #0A2844

    oklch(27.1% 0.063 250.1)

Export this scale for Tailwind in the Tailwind colors tool

#338FE3 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)#6794E60.049
Deuteranopia (no green cones)#4D84E10.032
Tritanopia (no blue cones)#00A3AE0.112
Achromatopsia (no color)#8B8B8B0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #338FE3

    #338FE3

    oklch(63.7% 0.152 250)

  • #BF7A00

    #BF7A00

    oklch(63.7% 0.138 70.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338FE3

    #338FE3

    oklch(63.7% 0.152 250)

  • #009BBB

    #009BBB

    oklch(63.7% 0.116 219.4)

  • #7B7EE5

    #7B7EE5

    oklch(63.8% 0.152 279.9)

Open the analogous palette in the generator

Split complementary

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

  • #338FE3

    #338FE3

    oklch(63.7% 0.152 250)

  • #D6653C

    #D6653C

    oklch(63.7% 0.153 39.9)

  • #9E8C00

    #9E8C00

    oklch(63.7% 0.132 100.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338FE3

    #338FE3

    oklch(63.7% 0.152 250)

  • #D65E76

    #D65E76

    oklch(63.7% 0.152 10)

  • #6C9C29

    #6C9C29

    oklch(63.6% 0.151 129.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338FE3

    #338FE3

    oklch(63.7% 0.152 250)

  • #C662A8

    #C662A8

    oklch(63.7% 0.152 340)

  • #BF7A00

    #BF7A00

    oklch(63.7% 0.138 70.4)

  • #00A56C

    #00A56C

    oklch(63.7% 0.144 160)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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