#0062C6

Closest named color: Mid Blue (#276AB3). oklch(50.9% 0.174 256.1), rgb(0, 98, 198).

Aa

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

About this color

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

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

Values

HEX#0062C6
RGBrgb(0, 98, 198)
HSLhsl(210, 100%, 39%)
OKLCHoklch(50.9% 0.174 256.1)

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 #0062C6 5.89:1 AA Lc -83.9 Fine for body text
Black text on #0062C6 3.56:1 AA large text Lc 25.4 Dividers and decoration only
#0062C6 text on white 5.89:1 AA Lc 78.7 Fine for body text
#0062C6 text on black 3.56:1 AA large text Lc -23.1 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C5DBF8

    oklch(88.4% 0.047 255.4)

  4. Step 300

    300

    #9DC3F7

    oklch(80.8% 0.085 256.3)

  5. Step 400

    400

    #66A2F3

    oklch(70.6% 0.135 256.3)

  6. Step 500

    500

    #3888EF

    oklch(63% 0.173 256.3)

  7. Step 600

    600

    #076FDD

    oklch(55.5% 0.188 256.2)

  8. Step 700

    700 (this color)

    #0062C6

    oklch(50.9% 0.174 256.1)

  9. Step 800

    800

    #034C9B

    oklch(42.6% 0.144 256.1)

  10. Step 900

    900

    #10407B

    oklch(37.6% 0.112 256.2)

  11. Step 950

    950

    #0C2648

    oklch(26.9% 0.071 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#0062C6 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)#1E6DCA0.034
Deuteranopia (no green cones)#005DC40.013
Tritanopia (no blue cones)#007B8A0.132
Achromatopsia (no color)#6464640.174

Harmonies

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

Complementary

The opposite hue (180°).

  • #0062C6

    #0062C6

    oklch(50.9% 0.174 256.1)

  • #885C00

    #885C00

    oklch(50.9% 0.107 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0062C6

    #0062C6

    oklch(50.9% 0.174 256.1)

  • #007090

    #007090

    oklch(50.8% 0.097 226.3)

  • #624EC2

    #624EC2

    oklch(50.8% 0.174 286.4)

Open the analogous palette in the generator

Split complementary

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

  • #0062C6

    #0062C6

    oklch(50.9% 0.174 256.1)

  • #A54400

    #A54400

    oklch(50.9% 0.143 45.8)

  • #6E6900

    #6E6900

    oklch(50.9% 0.109 106.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0062C6

    #0062C6

    oklch(50.9% 0.174 256.1)

  • #B32842

    #B32842

    oklch(50.8% 0.174 16.1)

  • #387800

    #387800

    oklch(51% 0.152 136.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0062C6

    #0062C6

    oklch(50.9% 0.174 256.1)

  • #A62E7A

    #A62E7A

    oklch(50.9% 0.173 346.1)

  • #885C00

    #885C00

    oklch(50.9% 0.107 76.4)

  • #007858

    #007858

    oklch(50.8% 0.105 166.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0062C6 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.