#062C40

Closest named color: Oxford Blue (#1B263B). oklch(27.8% 0.055 237), rgb(6, 44, 64).

Aa

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

About this color

#062C40 is a dark, muted blue. In OKLCH its lightness is 28%, its chroma 0.055 and its hue 237°. 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.56:1.

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

Values

HEX#062C40
RGBrgb(6, 44, 64)
HSLhsl(201, 83%, 14%)
OKLCHoklch(27.8% 0.055 237)

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 #062C40 14.56:1 AAA Lc -104.0 Preferred for body text
Black text on #062C40 1.44:1 Fails Lc 0.0 Not readable
#062C40 text on white 14.56:1 AAA Lc 101.1 Preferred for body text
#062C40 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

    #DFECF5

    oklch(93.6% 0.018 237.8)

  3. Step 200

    200

    #C4DDEE

    oklch(88.4% 0.036 237.6)

  4. Step 300

    300

    #99C8E6

    oklch(81% 0.065 236.6)

  5. Step 400

    400

    #5BAAD9

    oklch(70.7% 0.104 236.9)

  6. Step 500

    500

    #1594CF

    oklch(63.2% 0.133 236.7)

  7. Step 600

    600

    #007CB1

    oklch(55.6% 0.122 237.2)

  8. Step 700

    700

    #006895

    oklch(49% 0.107 237)

  9. Step 800

    800

    #00557B

    oklch(42.6% 0.093 237.2)

  10. Step 900

    900

    #004767

    oklch(37.7% 0.082 236.6)

  11. Step 950

    950 (this color)

    #062C40

    oklch(27.8% 0.055 237)

Export this scale for Tailwind in the Tailwind colors tool

#062C40 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)#222C410.031
Deuteranopia (no green cones)#1B27400.025
Tritanopia (no blue cones)#0031330.035
Achromatopsia (no color)#2929290.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #062C40

    #062C40

    oklch(27.8% 0.055 237)

  • #3C210A

    #3C210A

    oklch(27.9% 0.054 58)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #062C40

    #062C40

    oklch(27.8% 0.055 237)

  • #002F34

    #002F34

    oklch(27.9% 0.048 206)

  • #1C2744

    #1C2744

    oklch(27.8% 0.056 267)

Open the analogous palette in the generator

Split complementary

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

  • #062C40

    #062C40

    oklch(27.8% 0.055 237)

  • #401D19

    #401D19

    oklch(27.9% 0.055 27.9)

  • #342602

    #342602

    oklch(27.8% 0.055 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #062C40

    #062C40

    oklch(27.8% 0.055 237)

  • #3D1C29

    #3D1C29

    oklch(27.8% 0.055 356.3)

  • #272C08

    #272C08

    oklch(27.9% 0.055 116.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #062C40

    #062C40

    oklch(27.8% 0.055 237)

  • #371E36

    #371E36

    oklch(27.9% 0.055 328.3)

  • #3C210A

    #3C210A

    oklch(27.9% 0.054 58)

  • #143018

    #143018

    oklch(28% 0.055 147)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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