#045A7A

Closest named color: Deep Sea Blue (#015482). oklch(43.9% 0.088 231.7), rgb(4, 90, 122).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.74:1
White text7.64:1

Values

HEX#045A7A
RGBrgb(4, 90, 122)
HSLhsl(196, 94%, 25%)
OKLCHoklch(43.9% 0.088 231.7)

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 #045A7A 7.64:1 AAA Lc -90.9 Preferred for body text
Black text on #045A7A 2.74:1 Fails Lc 18.0 Dividers and decoration only
#045A7A text on white 7.64:1 AAA Lc 86.0 Fine for body text
#045A7A text on black 2.74:1 Fails Lc -16.0 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C7DDE9

    oklch(88.5% 0.029 231.5)

  4. Step 300

    300

    #A0C7DC

    oklch(80.8% 0.051 231.7)

  5. Step 400

    400

    #69AACB

    oklch(70.7% 0.082 231.7)

  6. Step 500

    500

    #3994BE

    oklch(63.1% 0.105 232)

  7. Step 600

    600

    #007EA9

    oklch(55.6% 0.112 231.2)

  8. Step 700

    700

    #006A8F

    oklch(49.2% 0.1 231.3)

  9. Step 800

    800 (this color)

    #045A7A

    oklch(43.9% 0.088 231.7)

  10. Step 900

    900

    #10485F

    oklch(37.8% 0.068 230.5)

  11. Step 950

    950

    #0C2A38

    oklch(27% 0.044 231.9)

Export this scale for Tailwind in the Tailwind colors tool

#045A7A 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)#4A597C0.058
Deuteranopia (no green cones)#3B4F7A0.048
Tritanopia (no blue cones)#0063650.052
Achromatopsia (no color)#5353530.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #045A7A

    #045A7A

    oklch(43.9% 0.088 231.7)

  • #784320

    #784320

    oklch(44% 0.088 51.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045A7A

    #045A7A

    oklch(43.9% 0.088 231.7)

  • #005E64

    #005E64

    oklch(43.9% 0.075 202.4)

  • #375183

    #375183

    oklch(43.9% 0.089 262.5)

Open the analogous palette in the generator

Split complementary

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

  • #045A7A

    #045A7A

    oklch(43.9% 0.088 231.7)

  • #7C3D3C

    #7C3D3C

    oklch(44% 0.088 22.2)

  • #6A4C06

    #6A4C06

    oklch(43.8% 0.088 81.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045A7A

    #045A7A

    oklch(43.9% 0.088 231.7)

  • #763C58

    #763C58

    oklch(43.9% 0.088 351.1)

  • #545712

    #545712

    oklch(44% 0.088 112)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045A7A

    #045A7A

    oklch(43.9% 0.088 231.7)

  • #69416F

    #69416F

    oklch(44% 0.088 322.2)

  • #784320

    #784320

    oklch(44% 0.088 51.8)

  • #345E2F

    #345E2F

    oklch(43.8% 0.088 141.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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