#062C42

Closest named color: Oxford Blue (#1B263B). oklch(28% 0.058 239.6), rgb(6, 44, 66).

Aa

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

About this color

#062C42 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.058 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.027 away. White text reads best on it, at 14.51:1.

Hue familyBlues
Lightnessdark (28%)
Chromamuted (0.058)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.44:1
White text14.51:1

Values

HEX#062C42
RGBrgb(6, 44, 66)
HSLhsl(202, 83%, 14%)
OKLCHoklch(28% 0.058 239.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 #062C42 14.51:1 AAA Lc -104.0 Preferred for body text
Black text on #062C42 1.44:1 Fails Lc 0.0 Not readable
#062C42 text on white 14.51:1 AAA Lc 101.1 Preferred for body text
#062C42 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

    #F0F6FB

    oklch(97% 0.009 242.8)

  2. Step 100

    100

    #DFECF6

    oklch(93.6% 0.019 240.7)

  3. Step 200

    200

    #C3DDF0

    oklch(88.4% 0.038 239.6)

  4. Step 300

    300

    #98C7E9

    oklch(80.8% 0.069 240.1)

  5. Step 400

    400

    #5AA9DD

    oklch(70.6% 0.109 239.7)

  6. Step 500

    500

    #1393D4

    oklch(63.2% 0.139 239.3)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950 (this color)

    #062C42

    oklch(28% 0.058 239.6)

Export this scale for Tailwind in the Tailwind colors tool

#062C42 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)#222C430.031
Deuteranopia (no green cones)#1927420.023
Tritanopia (no blue cones)#0032340.039
Achromatopsia (no color)#2929290.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #062C42

    #062C42

    oklch(28% 0.058 239.6)

  • #3D2107

    #3D2107

    oklch(28% 0.057 59.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #062C42

    #062C42

    oklch(28% 0.058 239.6)

  • #002F36

    #002F36

    oklch(28% 0.048 210.3)

  • #1E2745

    #1E2745

    oklch(28.1% 0.057 269.8)

Open the analogous palette in the generator

Split complementary

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

  • #062C42

    #062C42

    oklch(28% 0.058 239.6)

  • #411D17

    #411D17

    oklch(28.1% 0.057 30.8)

  • #342700

    #342700

    oklch(28% 0.057 89.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #062C42

    #062C42

    oklch(28% 0.058 239.6)

  • #3F1C28

    #3F1C28

    oklch(28.1% 0.057 359.6)

  • #252D07

    #252D07

    oklch(28% 0.058 120.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #062C42

    #062C42

    oklch(28% 0.058 239.6)

  • #381E36

    #381E36

    oklch(28% 0.056 329.7)

  • #3D2107

    #3D2107

    oklch(28% 0.057 59.5)

  • #113119

    #113119

    oklch(28.2% 0.058 149.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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