#0064CB

Closest named color: Mid Blue (#276AB3). oklch(51.7% 0.178 256.3), rgb(0, 100, 203).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (52%)
Chromavivid (0.178)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.68:1
White text5.69:1

Values

HEX#0064CB
RGBrgb(0, 100, 203)
HSLhsl(210, 100%, 40%)
OKLCHoklch(51.7% 0.178 256.3)

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 #0064CB 5.69:1 AA Lc -83.0 Fine for body text
Black text on #0064CB 3.68:1 AA large text Lc 26.4 Dividers and decoration only
#0064CB text on white 5.69:1 AA Lc 77.7 Fine for body text
#0064CB text on black 3.68:1 AA large text Lc -24.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

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBF9

    oklch(88.5% 0.048 256.2)

  4. Step 300

    300

    #9CC3F8

    oklch(80.8% 0.086 256.2)

  5. Step 400

    400

    #65A2F5

    oklch(70.7% 0.138 256.5)

  6. Step 500

    500

    #3688F1

    oklch(63.1% 0.176 256.3)

  7. Step 600

    600

    #006FE0

    oklch(55.6% 0.192 256.3)

  8. Step 700

    700 (this color)

    #0064CB

    oklch(51.7% 0.178 256.3)

  9. Step 800

    800

    #004C9D

    oklch(42.8% 0.147 256.2)

  10. Step 900

    900

    #0F407D

    oklch(37.7% 0.115 256.5)

  11. Step 950

    950

    #0B2649

    oklch(27% 0.073 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#0064CB 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)#1C6FCF0.033
Deuteranopia (no green cones)#005FC90.013
Tritanopia (no blue cones)#007D8E0.132
Achromatopsia (no color)#6767670.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #0064CB

    #0064CB

    oklch(51.7% 0.178 256.3)

  • #8B5E00

    #8B5E00

    oklch(51.7% 0.108 76.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0064CB

    #0064CB

    oklch(51.7% 0.178 256.3)

  • #007393

    #007393

    oklch(51.7% 0.099 225.7)

  • #6450C7

    #6450C7

    oklch(51.7% 0.177 286.1)

Open the analogous palette in the generator

Split complementary

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

  • #0064CB

    #0064CB

    oklch(51.7% 0.178 256.3)

  • #A84600

    #A84600

    oklch(51.7% 0.145 46.2)

  • #716B00

    #716B00

    oklch(51.7% 0.11 105.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0064CB

    #0064CB

    oklch(51.7% 0.178 256.3)

  • #B82843

    #B82843

    oklch(51.7% 0.179 16.3)

  • #387A00

    #387A00

    oklch(51.5% 0.154 136.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0064CB

    #0064CB

    oklch(51.7% 0.178 256.3)

  • #AA2E7D

    #AA2E7D

    oklch(51.7% 0.178 346.1)

  • #8B5E00

    #8B5E00

    oklch(51.7% 0.108 76.3)

  • #007B5A

    #007B5A

    oklch(51.7% 0.107 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0064CB 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.