#05405A

Closest named color: Midnight Green (#073B4C). oklch(35.1% 0.071 234.5), rgb(5, 64, 90).

Aa

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

About this color

#05405A is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.071 and its hue 234°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.027 away. White text reads best on it, at 11.12:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.88:1
White text11.12:1

Values

HEX#05405A
RGBrgb(5, 64, 90)
HSLhsl(198, 89%, 19%)
OKLCHoklch(35.1% 0.071 234.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 #05405A 11.12:1 AAA Lc -99.2 Preferred for body text
Black text on #05405A 1.88:1 Fails Lc 8.6 Not readable
#05405A text on white 11.12:1 AAA Lc 95.3 Preferred for body text
#05405A text on black 1.88:1 Fails Lc -7.3 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 900.

  1. Step 50

    50

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E0ECF3

    oklch(93.6% 0.016 233)

  3. Step 200

    200

    #C7DDEA

    oklch(88.5% 0.03 233.6)

  4. Step 300

    300

    #A0C7DE

    oklch(80.9% 0.053 234.2)

  5. Step 400

    400

    #69AACE

    oklch(70.8% 0.085 234)

  6. Step 500

    500

    #3993C1

    oklch(63% 0.109 234.7)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005679

    oklch(42.8% 0.09 234.7)

  10. Step 900

    900 (this color)

    #05405A

    oklch(35.1% 0.071 234.5)

  11. Step 950

    950

    #0C2A39

    oklch(27% 0.045 233.7)

Export this scale for Tailwind in the Tailwind colors tool

#05405A 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)#33405B0.043
Deuteranopia (no green cones)#28385A0.036
Tritanopia (no blue cones)#0047490.044
Achromatopsia (no color)#3B3B3B0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #05405A

    #05405A

    oklch(35.1% 0.071 234.5)

  • #572F12

    #572F12

    oklch(35.1% 0.072 53.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #05405A

    #05405A

    oklch(35.1% 0.071 234.5)

  • #004349

    #004349

    oklch(34.9% 0.06 204.9)

  • #283960

    #283960

    oklch(35% 0.072 265.1)

Open the analogous palette in the generator

Split complementary

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

  • #05405A

    #05405A

    oklch(35.1% 0.071 234.5)

  • #5A2A28

    #5A2A28

    oklch(35% 0.071 23.8)

  • #4C3701

    #4C3701

    oklch(35.1% 0.071 84.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #05405A

    #05405A

    oklch(35.1% 0.071 234.5)

  • #572A3D

    #572A3D

    oklch(35.2% 0.071 354.7)

  • #3A3F0B

    #3A3F0B

    oklch(35.2% 0.071 115)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #05405A

    #05405A

    oklch(35.1% 0.071 234.5)

  • #4D2D4F

    #4D2D4F

    oklch(35.1% 0.071 324.9)

  • #572F12

    #572F12

    oklch(35.1% 0.072 53.7)

  • #214422

    #214422

    oklch(35% 0.07 144.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #05405A 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.