#062A4E

Closest named color: Marine (#042E60). oklch(28.3% 0.077 252.5), rgb(6, 42, 78).

Aa

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

About this color

#062A4E is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.077 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.033 away. White text reads best on it, at 14.49:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.44:1
White text14.49:1

Values

HEX#062A4E
RGBrgb(6, 42, 78)
HSLhsl(210, 86%, 16%)
OKLCHoklch(28.3% 0.077 252.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 #062A4E 14.49:1 AAA Lc -103.9 Preferred for body text
Black text on #062A4E 1.44:1 Fails Lc 0.0 Not readable
#062A4E text on white 14.49:1 AAA Lc 101.0 Preferred for body text
#062A4E text on black 1.44: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C2DCFA

    oklch(88.5% 0.05 252.1)

  4. Step 300

    300

    #96C5FA

    oklch(81% 0.09 251.9)

  5. Step 400

    400

    #57A4F8

    oklch(70.7% 0.145 252.3)

  6. Step 500

    500

    #108AF5

    oklch(63.1% 0.186 252.4)

  7. Step 600

    600

    #0074D2

    oklch(55.7% 0.168 252.4)

  8. Step 700

    700

    #0061B1

    oklch(49.1% 0.148 252.3)

  9. Step 800

    800

    #004F93

    oklch(42.7% 0.13 252.6)

  10. Step 900

    900

    #00427C

    oklch(37.8% 0.114 252.4)

  11. Step 950

    950 (this color)

    #062A4E

    oklch(28.3% 0.077 252.5)

Export this scale for Tailwind in the Tailwind colors tool

#062A4E 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)#182D4F0.021
Deuteranopia (no green cones)#0B264D0.012
Tritanopia (no blue cones)#0033380.057
Achromatopsia (no color)#2929290.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #062A4E

    #062A4E

    oklch(28.3% 0.077 252.5)

  • #3B2400

    #3B2400

    oklch(28.3% 0.06 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #062A4E

    #062A4E

    oklch(28.3% 0.077 252.5)

  • #002F3C

    #002F3C

    oklch(28.3% 0.052 222.1)

  • #25234E

    #25234E

    oklch(28.4% 0.077 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #062A4E

    #062A4E

    oklch(28.3% 0.077 252.5)

  • #471905

    #471905

    oklch(28.1% 0.077 41.9)

  • #2F2A00

    #2F2A00

    oklch(28.2% 0.059 102.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #062A4E

    #062A4E

    oklch(28.3% 0.077 252.5)

  • #48161F

    #48161F

    oklch(28.3% 0.077 12.6)

  • #1A3101

    #1A3101

    oklch(28.3% 0.078 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #062A4E

    #062A4E

    oklch(28.3% 0.077 252.5)

  • #421734

    #421734

    oklch(28.2% 0.078 342.1)

  • #3B2400

    #3B2400

    oklch(28.3% 0.06 73.4)

  • #003320

    #003320

    oklch(28.4% 0.062 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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