#0462CC

Closest named color: Mid Blue (#276AB3). oklch(51.4% 0.181 257.2), rgb(4, 98, 204).

Aa

White text reads best on this color (5.79:1).

About this color

#0462CC is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.181 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.050 away. White text reads best on it, at 5.79:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.181)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.62:1
White text5.79:1

Values

HEX#0462CC
RGBrgb(4, 98, 204)
HSLhsl(212, 96%, 41%)
OKLCHoklch(51.4% 0.181 257.2)

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 #0462CC 5.79:1 AA Lc -83.5 Fine for body text
Black text on #0462CC 3.62:1 AA large text Lc 25.9 Dividers and decoration only
#0462CC text on white 5.79:1 AA Lc 78.2 Fine for body text
#0462CC text on black 3.62:1 AA large text Lc -23.6 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  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

    #9DC3F9

    oklch(80.9% 0.087 257.2)

  5. Step 400

    400

    #65A2F7

    oklch(70.8% 0.14 256.9)

  6. Step 500

    500

    #3887F3

    oklch(63.1% 0.179 257.3)

  7. Step 600

    600

    #086EE2

    oklch(55.6% 0.195 257.2)

  8. Step 700

    700 (this color)

    #0462CC

    oklch(51.4% 0.181 257.2)

  9. Step 800

    800

    #034B9F

    oklch(42.7% 0.151 257.2)

  10. Step 900

    900

    #10407E

    oklch(37.8% 0.117 257)

  11. Step 950

    950

    #0B264A

    oklch(27.1% 0.074 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#0462CC 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)#106ED00.033
Deuteranopia (no green cones)#005ECA0.011
Tritanopia (no blue cones)#007C8D0.136
Achromatopsia (no color)#6565650.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #0462CC

    #0462CC

    oklch(51.4% 0.181 257.2)

  • #895E00

    #895E00

    oklch(51.5% 0.107 77.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0462CC

    #0462CC

    oklch(51.4% 0.181 257.2)

  • #007293

    #007293

    oklch(51.5% 0.099 226.7)

  • #654DC7

    #654DC7

    oklch(51.3% 0.181 287.2)

Open the analogous palette in the generator

Split complementary

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

  • #0462CC

    #0462CC

    oklch(51.4% 0.181 257.2)

  • #A54700

    #A54700

    oklch(51.4% 0.141 47.4)

  • #6F6B00

    #6F6B00

    oklch(51.5% 0.11 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0462CC

    #0462CC

    oklch(51.4% 0.181 257.2)

  • #B8243F

    #B8243F

    oklch(51.4% 0.182 17.2)

  • #347A00

    #347A00

    oklch(51.4% 0.156 137.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0462CC

    #0462CC

    oklch(51.4% 0.181 257.2)

  • #AB2A7A

    #AB2A7A

    oklch(51.3% 0.182 347.4)

  • #895E00

    #895E00

    oklch(51.5% 0.107 77.6)

  • #007A5A

    #007A5A

    oklch(51.4% 0.106 166.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0462CC 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.