#045270

Closest named color: Deep Sea Blue (#015482). oklch(41.2% 0.083 232.2), rgb(4, 82, 112).

Aa

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

About this color

#045270 is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.083 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.030 away. White text reads best on it, at 8.58:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameDeep Sea Blue (#015482)
Black text2.44:1
White text8.58:1

Values

HEX#045270
RGBrgb(4, 82, 112)
HSLhsl(197, 93%, 23%)
OKLCHoklch(41.2% 0.083 232.2)

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 #045270 8.58:1 AAA Lc -93.6 Preferred for body text
Black text on #045270 2.44:1 Fails Lc 15.0 Not readable
#045270 text on white 8.58:1 AAA Lc 89.0 Fine for body text
#045270 text on black 2.44:1 Fails Lc -13.2 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE8

    oklch(88.5% 0.027 230.4)

  4. Step 300

    300

    #A2C7DB

    oklch(80.9% 0.049 231.7)

  5. Step 400

    400

    #6DA9C9

    oklch(70.6% 0.078 232.7)

  6. Step 500

    500

    #4294BB

    oklch(63.2% 0.098 231.9)

  7. Step 600

    600

    #177DA7

    oklch(55.5% 0.107 232.3)

  8. Step 700

    700

    #02698F

    oklch(49% 0.1 232.4)

  9. Step 800

    800 (this color)

    #045270

    oklch(41.2% 0.083 232.2)

  10. Step 900

    900

    #16475E

    oklch(37.7% 0.065 232.7)

  11. Step 950

    950

    #0F2A37

    oklch(27.1% 0.041 231.9)

Export this scale for Tailwind in the Tailwind colors tool

#045270 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)#4351710.054
Deuteranopia (no green cones)#3548700.044
Tritanopia (no blue cones)#005A5C0.049
Achromatopsia (no color)#4C4C4C0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #045270

    #045270

    oklch(41.2% 0.083 232.2)

  • #6E3D1C

    #6E3D1C

    oklch(41.4% 0.083 52.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #045270

    #045270

    oklch(41.2% 0.083 232.2)

  • #00565B

    #00565B

    oklch(41.2% 0.07 201.6)

  • #324A78

    #324A78

    oklch(41.3% 0.083 262.4)

Open the analogous palette in the generator

Split complementary

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

  • #045270

    #045270

    oklch(41.2% 0.083 232.2)

  • #713736

    #713736

    oklch(41.2% 0.082 22.3)

  • #614604

    #614604

    oklch(41.3% 0.083 82.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #045270

    #045270

    oklch(41.2% 0.083 232.2)

  • #6C3750

    #6C3750

    oklch(41.3% 0.082 351.6)

  • #4C4F0F

    #4C4F0F

    oklch(41.2% 0.083 112.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #045270

    #045270

    oklch(41.2% 0.083 232.2)

  • #603B65

    #603B65

    oklch(41.3% 0.082 322.6)

  • #6E3D1C

    #6E3D1C

    oklch(41.4% 0.083 52.2)

  • #2E562B

    #2E562B

    oklch(41.2% 0.083 142.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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