#338DFB

Closest named color: Dodger Blue (#1E90FF). oklch(64.7% 0.184 255.8), rgb(51, 141, 251).

Aa

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

About this color

#338DFB is a medium-light, vivid blue. In OKLCH its lightness is 65%, its chroma 0.184 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.011 away. Black text reads best on it, at 6.34:1.

Hue familyBlues
Lightnessmedium-light (65%)
Chromavivid (0.184)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text6.34:1
White text3.31:1

Values

HEX#338DFB
RGBrgb(51, 141, 251)
HSLhsl(213, 96%, 59%)
OKLCHoklch(64.7% 0.184 255.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 #338DFB 3.31:1 AA large text Lc -65.4 Content text, not long reading
Black text on #338DFB 6.34:1 AA Lc 44.1 Non-text elements, placeholder text
#338DFB text on white 3.31:1 AA large text Lc 60.0 Large or bold text, headings
#338DFB text on black 6.34:1 AA Lc -41.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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C4DBFB

    oklch(88.5% 0.051 256.7)

  4. Step 300

    300

    #9AC3FB

    oklch(80.8% 0.091 256.3)

  5. Step 400

    400

    #60A2F8

    oklch(70.6% 0.144 255.7)

  6. Step 500

    500 (this color)

    #338DFB

    oklch(64.7% 0.184 255.8)

  7. Step 600

    600

    #0070DE

    oklch(55.7% 0.188 255.7)

  8. Step 700

    700

    #005EBC

    oklch(49.2% 0.166 255.7)

  9. Step 800

    800

    #004C9B

    oklch(42.6% 0.144 255.8)

  10. Step 900

    900

    #08407F

    oklch(37.7% 0.12 255.7)

  11. Step 950

    950

    #08264A

    oklch(26.9% 0.075 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#338DFB 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)#5497FF0.039
Deuteranopia (no green cones)#2885F90.023
Tritanopia (no blue cones)#00A7B80.139
Achromatopsia (no color)#8D8D8D0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #338DFB

    #338DFB

    oklch(64.7% 0.184 255.8)

  • #BD8100

    #BD8100

    oklch(64.8% 0.136 76.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #338DFB

    #338DFB

    oklch(64.7% 0.184 255.8)

  • #009DC7

    #009DC7

    oklch(64.8% 0.123 225.5)

  • #8877F7

    #8877F7

    oklch(64.6% 0.184 286.1)

Open the analogous palette in the generator

Split complementary

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

  • #338DFB

    #338DFB

    oklch(64.7% 0.184 255.8)

  • #E46100

    #E46100

    oklch(64.8% 0.183 45.9)

  • #9A9200

    #9A9200

    oklch(64.6% 0.138 105.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #338DFB

    #338DFB

    oklch(64.7% 0.184 255.8)

  • #E85368

    #E85368

    oklch(64.7% 0.184 15.6)

  • #55A616

    #55A616

    oklch(64.8% 0.185 135.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #338DFB

    #338DFB

    oklch(64.7% 0.184 255.8)

  • #D956A6

    #D956A6

    oklch(64.7% 0.185 345.9)

  • #BD8100

    #BD8100

    oklch(64.8% 0.136 76.1)

  • #00A87B

    #00A87B

    oklch(64.9% 0.135 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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