#0474EA

Closest named color: Cerulean Blue (#056EEE). oklch(57.5% 0.198 256.5), rgb(4, 116, 234).

Aa

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

About this color

#0474EA is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.198 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.017 away. Black text reads best on it, at 4.69:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.198)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.69:1
White text4.47:1

Values

HEX#0474EA
RGBrgb(4, 116, 234)
HSLhsl(211, 97%, 47%)
OKLCHoklch(57.5% 0.198 256.5)

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 #0474EA 4.47:1 AA large text Lc -75.7 Fine for body text
Black text on #0474EA 4.69:1 AA Lc 33.8 Non-text elements, placeholder text
#0474EA text on white 4.47:1 AA large text Lc 70.2 Content text, not long reading
#0474EA text on black 4.69:1 AA Lc -31.4 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 600.

  1. Step 50

    50

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9BC3FA

    oklch(80.8% 0.089 256.5)

  5. Step 400

    400

    #63A2F8

    oklch(70.8% 0.143 256.6)

  6. Step 500

    500

    #3287F5

    oklch(63% 0.183 256.7)

  7. Step 600

    600 (this color)

    #0474EA

    oklch(57.5% 0.198 256.5)

  8. Step 700

    700

    #005DBE

    oklch(49.2% 0.17 256.3)

  9. Step 800

    800

    #004C9E

    oklch(42.8% 0.148 256.4)

  10. Step 900

    900

    #0C407F

    oklch(37.8% 0.119 256.4)

  11. Step 950

    950

    #0A264A

    oklch(27% 0.075 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#0474EA 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)#2181EE0.037
Deuteranopia (no green cones)#006EE80.016
Tritanopia (no blue cones)#0091A40.148
Achromatopsia (no color)#7777770.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #0474EA

    #0474EA

    oklch(57.5% 0.198 256.5)

  • #A06D00

    #A06D00

    oklch(57.4% 0.12 76.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0474EA

    #0474EA

    oklch(57.5% 0.198 256.5)

  • #0085AB

    #0085AB

    oklch(57.5% 0.111 226.7)

  • #755DE5

    #755DE5

    oklch(57.5% 0.197 286.5)

Open the analogous palette in the generator

Split complementary

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

  • #0474EA

    #0474EA

    oklch(57.5% 0.198 256.5)

  • #C15200

    #C15200

    oklch(57.4% 0.16 46.4)

  • #827D00

    #827D00

    oklch(57.5% 0.123 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0474EA

    #0474EA

    oklch(57.5% 0.198 256.5)

  • #D4304E

    #D4304E

    oklch(57.5% 0.198 16.5)

  • #418E00

    #418E00

    oklch(57.5% 0.173 136.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0474EA

    #0474EA

    oklch(57.5% 0.198 256.5)

  • #C53690

    #C53690

    oklch(57.5% 0.199 346.6)

  • #A06D00

    #A06D00

    oklch(57.4% 0.12 76.5)

  • #008E69

    #008E69

    oklch(57.4% 0.118 166.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0474EA.

Similar named colors

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

Use #0474EA 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.