#005ECC

Closest named color: Azul (#1D5DEC). oklch(50.5% 0.187 258), rgb(0, 94, 204).

Aa

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

About this color

#005ECC is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.187 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Azul (#1D5DEC), ΔE 0.051 away. White text reads best on it, at 6.04:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.187)
Temperaturecool
Nearest nameAzul (#1D5DEC)
Black text3.47:1
White text6.04:1

Values

HEX#005ECC
RGBrgb(0, 94, 204)
HSLhsl(212, 100%, 40%)
OKLCHoklch(50.5% 0.187 258)

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 #005ECC 6.04:1 AA Lc -84.6 Fine for body text
Black text on #005ECC 3.47:1 AA large text Lc 24.7 Dividers and decoration only
#005ECC text on white 6.04:1 AA Lc 79.3 Fine for body text
#005ECC text on black 3.47:1 AA large text Lc -22.5 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

    #DFEBFC

    oklch(93.6% 0.026 257)

  3. Step 200

    200

    #C5DBFB

    oklch(88.5% 0.05 257.7)

  4. Step 300

    300

    #9CC3FB

    oklch(80.9% 0.09 257.4)

  5. Step 400

    400

    #65A1F9

    oklch(70.7% 0.144 257.9)

  6. Step 500

    500

    #3886F6

    oklch(63% 0.184 258.1)

  7. Step 600

    600

    #096DE5

    oklch(55.7% 0.2 257.8)

  8. Step 700

    700 (this color)

    #005ECC

    oklch(50.5% 0.187 258)

  9. Step 800

    800

    #044AA1

    oklch(42.7% 0.154 258)

  10. Step 900

    900

    #103F80

    oklch(37.7% 0.121 258)

  11. Step 950

    950

    #0B254B

    oklch(26.9% 0.077 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#005ECC 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)#006BD00.034
Deuteranopia (no green cones)#005BCA0.008
Tritanopia (no blue cones)#007A8C0.141
Achromatopsia (no color)#6363630.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #005ECC

    #005ECC

    oklch(50.5% 0.187 258)

  • #855C00

    #855C00

    oklch(50.6% 0.105 78.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005ECC

    #005ECC

    oklch(50.5% 0.187 258)

  • #006F91

    #006F91

    oklch(50.6% 0.099 228)

  • #6448C6

    #6448C6

    oklch(50.4% 0.187 288)

Open the analogous palette in the generator

Split complementary

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

  • #005ECC

    #005ECC

    oklch(50.5% 0.187 258)

  • #A14600

    #A14600

    oklch(50.6% 0.138 47.9)

  • #6B6800

    #6B6800

    oklch(50.4% 0.108 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005ECC

    #005ECC

    oklch(50.5% 0.187 258)

  • #B71B3A

    #B71B3A

    oklch(50.5% 0.187 17.8)

  • #2E7800

    #2E7800

    oklch(50.6% 0.157 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005ECC

    #005ECC

    oklch(50.5% 0.187 258)

  • #AA2377

    #AA2377

    oklch(50.5% 0.186 348)

  • #855C00

    #855C00

    oklch(50.6% 0.105 78.5)

  • #007759

    #007759

    oklch(50.5% 0.103 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #005ECC 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.