#045A8C

Closest named color: Deep Sea Blue (#015482). oklch(45% 0.108 243.5), rgb(4, 90, 140).

Aa

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

About this color

#045A8C is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.108 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Deep Sea Blue (#015482), ΔE 0.023 away. White text reads best on it, at 7.37:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.84:1
White text7.37:1

Values

HEX#045A8C
RGBrgb(4, 90, 140)
HSLhsl(202, 94%, 28%)
OKLCHoklch(45% 0.108 243.5)

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 #045A8C 7.37:1 AAA Lc -90.0 Fine for body text
Black text on #045A8C 2.84:1 Fails Lc 18.9 Dividers and decoration only
#045A8C text on white 7.37:1 AAA Lc 85.1 Fine for body text
#045A8C text on black 2.84:1 Fails Lc -16.9 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0ECF5

    oklch(93.7% 0.018 240)

  3. Step 200

    200

    #C6DCEF

    oklch(88.4% 0.035 244.2)

  4. Step 300

    300

    #9EC6E7

    oklch(80.9% 0.063 243.5)

  5. Step 400

    400

    #66A8DB

    oklch(70.8% 0.101 243.2)

  6. Step 500

    500

    #3591D1

    oklch(63.2% 0.129 243.3)

  7. Step 600

    600

    #007ABC

    oklch(55.7% 0.136 243.3)

  8. Step 700

    700

    #00669F

    oklch(49.1% 0.12 243.6)

  9. Step 800

    800 (this color)

    #045A8C

    oklch(45% 0.108 243.5)

  10. Step 900

    900

    #0D456A

    oklch(37.6% 0.084 243.6)

  11. Step 950

    950

    #0B293E

    oklch(27% 0.053 242.9)

Export this scale for Tailwind in the Tailwind colors tool

#045A8C 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)#425C8E0.047
Deuteranopia (no green cones)#2F518B0.033
Tritanopia (no blue cones)#00666C0.073
Achromatopsia (no color)#5656560.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #045A8C

    #045A8C

    oklch(45% 0.108 243.5)

  • #7C4600

    #7C4600

    oklch(44.9% 0.103 62.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045A8C

    #045A8C

    oklch(45% 0.108 243.5)

  • #006070

    #006070

    oklch(45% 0.079 214.2)

  • #434F91

    #434F91

    oklch(45.1% 0.108 273.5)

Open the analogous palette in the generator

Split complementary

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

  • #045A8C

    #045A8C

    oklch(45% 0.108 243.5)

  • #873B2B

    #873B2B

    oklch(45.1% 0.108 33.4)

  • #665300

    #665300

    oklch(44.8% 0.092 93.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045A8C

    #045A8C

    oklch(45% 0.108 243.5)

  • #84384F

    #84384F

    oklch(45% 0.107 3.4)

  • #4A5E06

    #4A5E06

    oklch(44.9% 0.107 123.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045A8C

    #045A8C

    oklch(45% 0.108 243.5)

  • #783C6E

    #783C6E

    oklch(45.1% 0.107 333.8)

  • #7C4600

    #7C4600

    oklch(44.9% 0.103 62.9)

  • #0F6637

    #0F6637

    oklch(45% 0.109 153.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #045A8C 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.