#0062CC

Closest named color: Mid Blue (#276AB3). oklch(51.3% 0.182 257), rgb(0, 98, 204).

Aa

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

About this color

#0062CC is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.182 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.80:1.

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

Values

HEX#0062CC
RGBrgb(0, 98, 204)
HSLhsl(211, 100%, 40%)
OKLCHoklch(51.3% 0.182 257)

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

    #9CC3F9

    oklch(80.9% 0.088 256.6)

  5. Step 400

    400

    #65A2F7

    oklch(70.8% 0.14 256.9)

  6. Step 500

    500

    #3687F3

    oklch(63% 0.18 257)

  7. Step 600

    600

    #036EE2

    oklch(55.6% 0.195 256.9)

  8. Step 700

    700 (this color)

    #0062CC

    oklch(51.3% 0.182 257)

  9. Step 800

    800

    #014B9F

    oklch(42.7% 0.151 257)

  10. Step 900

    900

    #0F407E

    oklch(37.8% 0.117 256.7)

  11. Step 950

    950

    #0B264A

    oklch(27.1% 0.074 256.8)

Export this scale for Tailwind in the Tailwind colors tool

#0062CC 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)#0F6ED00.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°).

  • #0062CC

    #0062CC

    oklch(51.3% 0.182 257)

  • #895D00

    #895D00

    oklch(51.3% 0.107 76.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0062CC

    #0062CC

    oklch(51.3% 0.182 257)

  • #007293

    #007293

    oklch(51.5% 0.099 226.7)

  • #654DC8

    #654DC8

    oklch(51.4% 0.183 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #0062CC

    #0062CC

    oklch(51.3% 0.182 257)

  • #A54600

    #A54600

    oklch(51.2% 0.142 46.9)

  • #6F6B00

    #6F6B00

    oklch(51.5% 0.11 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0062CC

    #0062CC

    oklch(51.3% 0.182 257)

  • #B82440

    #B82440

    oklch(51.4% 0.182 16.8)

  • #357A00

    #357A00

    oklch(51.4% 0.156 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0062CC

    #0062CC

    oklch(51.3% 0.182 257)

  • #AB2A7B

    #AB2A7B

    oklch(51.4% 0.182 347)

  • #895D00

    #895D00

    oklch(51.3% 0.107 76.7)

  • #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 #0062CC, closest first.

Similar named colors

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

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