#062A53

Closest named color: Marine (#042E60). oklch(28.7% 0.085 254.9), rgb(6, 42, 83).

Aa

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

About this color

#062A53 is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.085 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.025 away. White text reads best on it, at 14.34:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.46:1
White text14.34:1

Values

HEX#062A53
RGBrgb(6, 42, 83)
HSLhsl(212, 87%, 17%)
OKLCHoklch(28.7% 0.085 254.9)

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 #062A53 14.34:1 AAA Lc -103.7 Preferred for body text
Black text on #062A53 1.46:1 Fails Lc 0.0 Not readable
#062A53 text on white 14.34:1 AAA Lc 100.8 Preferred for body text
#062A53 text on black 1.46:1 Fails Lc 0.0 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 950.

  1. Step 50

    50

    #F0F6FF

    oklch(97.1% 0.014 258.3)

  2. Step 100

    100

    #DDEBFE

    oklch(93.5% 0.03 256)

  3. Step 200

    200

    #C1DCFE

    oklch(88.6% 0.055 254.3)

  4. Step 300

    300

    #96C4FF

    oklch(81% 0.097 254.9)

  5. Step 400

    400

    #57A2FF

    oklch(70.6% 0.156 255)

  6. Step 500

    500

    #1087FF

    oklch(63.1% 0.202 255)

  7. Step 600

    600

    #0071DA

    oklch(55.6% 0.182 254.8)

  8. Step 700

    700

    #005FB9

    oklch(49.2% 0.161 254.8)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #004081

    oklch(37.7% 0.124 254.9)

  11. Step 950

    950 (this color)

    #062A53

    oklch(28.7% 0.085 254.9)

Export this scale for Tailwind in the Tailwind colors tool

#062A53 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)#142E550.019
Deuteranopia (no green cones)#0327520.010
Tritanopia (no blue cones)#00343A0.064
Achromatopsia (no color)#2A2A2A0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #062A53

    #062A53

    oklch(28.7% 0.085 254.9)

  • #3C2500

    #3C2500

    oklch(28.6% 0.061 74)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #062A53

    #062A53

    oklch(28.7% 0.085 254.9)

  • #00303F

    #00303F

    oklch(28.8% 0.055 225.1)

  • #272252

    #272252

    oklch(28.6% 0.085 284.4)

Open the analogous palette in the generator

Split complementary

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

  • #062A53

    #062A53

    oklch(28.7% 0.085 254.9)

  • #4A1900

    #4A1900

    oklch(28.6% 0.083 44.5)

  • #2F2C00

    #2F2C00

    oklch(28.7% 0.061 105.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #062A53

    #062A53

    oklch(28.7% 0.085 254.9)

  • #4C141D

    #4C141D

    oklch(28.8% 0.084 14.8)

  • #163300

    #163300

    oklch(28.7% 0.084 135.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #062A53

    #062A53

    oklch(28.7% 0.085 254.9)

  • #461534

    #461534

    oklch(28.6% 0.085 344.9)

  • #3C2500

    #3C2500

    oklch(28.6% 0.061 74)

  • #003423

    #003423

    oklch(28.8% 0.061 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #062A53 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.