#004790

Closest named color: Cobalt (#1E488F). oklch(40.6% 0.136 255.4), rgb(0, 71, 144).

Aa

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

About this color

#004790 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.136 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.016 away. White text reads best on it, at 9.11:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.30:1
White text9.11:1

Values

HEX#004790
RGBrgb(0, 71, 144)
HSLhsl(210, 100%, 28%)
OKLCHoklch(40.6% 0.136 255.4)

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 #004790 9.11:1 AAA Lc -94.7 Preferred for body text
Black text on #004790 2.30:1 Fails Lc 13.7 Not readable
#004790 text on white 9.11:1 AAA Lc 90.3 Preferred for body text
#004790 text on black 2.30:1 Fails Lc -12.0 Not readable

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

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBF9

    oklch(93.6% 0.022 254.4)

  3. Step 200

    200

    #C6DBF7

    oklch(88.5% 0.045 255.6)

  4. Step 300

    300

    #9FC3F4

    oklch(80.8% 0.08 256.2)

  5. Step 400

    400

    #69A3EE

    oklch(70.7% 0.126 255.4)

  6. Step 500

    500

    #3D8AE9

    oklch(63.2% 0.162 255.4)

  7. Step 600

    600

    #1371D7

    oklch(55.6% 0.176 255.4)

  8. Step 700

    700

    #015EBA

    oklch(49.1% 0.163 255.4)

  9. Step 800

    800 (this color)

    #004790

    oklch(40.6% 0.136 255.4)

  10. Step 900

    900

    #134178

    oklch(37.7% 0.106 255.4)

  11. Step 950

    950

    #0D2746

    oklch(27.1% 0.066 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#004790 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)#184F930.028
Deuteranopia (no green cones)#00438F0.011
Tritanopia (no blue cones)#0059640.102
Achromatopsia (no color)#4848480.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #004790

    #004790

    oklch(40.6% 0.136 255.4)

  • #634100

    #634100

    oklch(40.4% 0.085 75.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #004790

    #004790

    oklch(40.6% 0.136 255.4)

  • #005169

    #005169

    oklch(40.5% 0.078 226.2)

  • #45388E

    #45388E

    oklch(40.5% 0.137 285.4)

Open the analogous palette in the generator

Split complementary

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

  • #004790

    #004790

    oklch(40.6% 0.136 255.4)

  • #792F00

    #792F00

    oklch(40.5% 0.115 45.3)

  • #504B00

    #504B00

    oklch(40.5% 0.086 105.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #004790

    #004790

    oklch(40.6% 0.136 255.4)

  • #821D30

    #821D30

    oklch(40.5% 0.135 15.4)

  • #285600

    #285600

    oklch(40.4% 0.119 135.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #004790

    #004790

    oklch(40.6% 0.136 255.4)

  • #792159

    #792159

    oklch(40.7% 0.136 345.7)

  • #634100

    #634100

    oklch(40.4% 0.085 75.4)

  • #00573E

    #00573E

    oklch(40.5% 0.084 165.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #004790 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.