#045794

Closest named color: Dusk Blue (#26538D). oklch(44.8% 0.121 249), rgb(4, 87, 148).

Aa

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

About this color

#045794 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.121 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.020 away. White text reads best on it, at 7.51:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.121)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.79:1
White text7.51:1

Values

HEX#045794
RGBrgb(4, 87, 148)
HSLhsl(205, 95%, 30%)
OKLCHoklch(44.8% 0.121 249)

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 #045794 7.51:1 AAA Lc -90.4 Preferred for body text
Black text on #045794 2.79:1 Fails Lc 18.5 Dividers and decoration only
#045794 text on white 7.51:1 AAA Lc 85.5 Fine for body text
#045794 text on black 2.79:1 Fails Lc -16.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 800.

  1. Step 50

    50

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF7

    oklch(93.5% 0.02 250.4)

  3. Step 200

    200

    #C6DCF3

    oklch(88.5% 0.04 249.5)

  4. Step 300

    300

    #9DC5ED

    oklch(80.9% 0.071 248.7)

  5. Step 400

    400

    #65A6E4

    oklch(70.7% 0.113 248.6)

  6. Step 500

    500

    #358EDC

    oklch(63.1% 0.144 248.8)

  7. Step 600

    600

    #0076C8

    oklch(55.5% 0.154 249.2)

  8. Step 700

    700

    #0063A9

    oklch(49% 0.136 249.1)

  9. Step 800

    800 (this color)

    #045794

    oklch(44.8% 0.121 249)

  10. Step 900

    900

    #0D4471

    oklch(37.8% 0.094 248.7)

  11. Step 950

    950

    #0B2842

    oklch(27% 0.059 248.9)

Export this scale for Tailwind in the Tailwind colors tool

#045794 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)#385B960.039
Deuteranopia (no green cones)#214F930.024
Tritanopia (no blue cones)#00666E0.088
Achromatopsia (no color)#5555550.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #045794

    #045794

    oklch(44.8% 0.121 249)

  • #774900

    #774900

    oklch(44.8% 0.098 69.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045794

    #045794

    oklch(44.8% 0.121 249)

  • #005F73

    #005F73

    oklch(44.8% 0.081 218.7)

  • #484A96

    #484A96

    oklch(44.8% 0.122 279.1)

Open the analogous palette in the generator

Split complementary

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

  • #045794

    #045794

    oklch(44.8% 0.121 249)

  • #8A3719

    #8A3719

    oklch(44.7% 0.121 39.2)

  • #625500

    #625500

    oklch(44.9% 0.093 99)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045794

    #045794

    oklch(44.8% 0.121 249)

  • #8A3146

    #8A3146

    oklch(44.7% 0.122 9.1)

  • #3F6000

    #3F6000

    oklch(44.6% 0.119 129.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045794

    #045794

    oklch(44.8% 0.121 249)

  • #7E356B

    #7E356B

    oklch(44.8% 0.122 338.7)

  • #774900

    #774900

    oklch(44.8% 0.098 69.1)

  • #00653F

    #00653F

    oklch(44.7% 0.103 159.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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