#062C54

Closest named color: Marine (#042E60). oklch(29.3% 0.083 253.6), rgb(6, 44, 84).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.083)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.49:1
White text14.03:1

Values

HEX#062C54
RGBrgb(6, 44, 84)
HSLhsl(211, 87%, 18%)
OKLCHoklch(29.3% 0.083 253.6)

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 #062C54 14.03:1 AAA Lc -103.4 Preferred for body text
Black text on #062C54 1.49:1 Fails Lc 0.0 Not readable
#062C54 text on white 14.03:1 AAA Lc 100.4 Preferred for body text
#062C54 text on black 1.49: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

    #EFF6FE

    oklch(97% 0.013 251.6)

  2. Step 100

    100

    #DDEBFD

    oklch(93.5% 0.029 254.7)

  3. Step 200

    200

    #C1DCFD

    oklch(88.5% 0.054 253.6)

  4. Step 300

    300

    #94C4FF

    oklch(80.8% 0.098 254)

  5. Step 400

    400

    #53A3FF

    oklch(70.7% 0.157 253.6)

  6. Step 500

    500

    #0088FD

    oklch(63.1% 0.199 253.8)

  7. Step 600

    600

    #0072D6

    oklch(55.6% 0.176 253.8)

  8. Step 700

    700

    #0060B5

    oklch(49.2% 0.155 253.6)

  9. Step 800

    800

    #004E96

    oklch(42.7% 0.135 253.8)

  10. Step 900

    900

    #00417E

    oklch(37.7% 0.118 253.6)

  11. Step 950

    950 (this color)

    #062C54

    oklch(29.3% 0.083 253.6)

Export this scale for Tailwind in the Tailwind colors tool

#062C54 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)#172F560.019
Deuteranopia (no green cones)#0728530.012
Tritanopia (no blue cones)#00363B0.064
Achromatopsia (no color)#2C2C2C0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #062C54

    #062C54

    oklch(29.3% 0.083 253.6)

  • #3E2600

    #3E2600

    oklch(29.2% 0.062 73.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #062C54

    #062C54

    oklch(29.3% 0.083 253.6)

  • #003140

    #003140

    oklch(29.1% 0.055 224.7)

  • #282453

    #282453

    oklch(29.2% 0.083 283.9)

Open the analogous palette in the generator

Split complementary

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

  • #062C54

    #062C54

    oklch(29.3% 0.083 253.6)

  • #4C1A01

    #4C1A01

    oklch(29.2% 0.083 43.9)

  • #312D00

    #312D00

    oklch(29.2% 0.062 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #062C54

    #062C54

    oklch(29.3% 0.083 253.6)

  • #4D161F

    #4D161F

    oklch(29.3% 0.083 14.2)

  • #193400

    #193400

    oklch(29.2% 0.083 133.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #062C54

    #062C54

    oklch(29.3% 0.083 253.6)

  • #471736

    #471736

    oklch(29.2% 0.084 343.9)

  • #3E2600

    #3E2600

    oklch(29.2% 0.062 73.3)

  • #003523

    #003523

    oklch(29.1% 0.062 163.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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