#2A4062

Closest named color: Dark Grey Blue (#29465B). oklch(37% 0.065 258.8), rgb(42, 64, 98).

Aa

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

About this color

#2A4062 is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.065 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.025 away. White text reads best on it, at 10.45:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.065)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.00:1
White text10.45:1

Values

HEX#2A4062
RGBrgb(42, 64, 98)
HSLhsl(216, 40%, 27%)
OKLCHoklch(37% 0.065 258.8)

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 #2A4062 10.45:1 AAA Lc -98.2 Preferred for body text
Black text on #2A4062 2.00:1 Fails Lc 9.8 Not readable
#2A4062 text on white 10.45:1 AAA Lc 94.2 Preferred for body text
#2A4062 text on black 2.00:1 Fails Lc -8.4 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 900.

  1. Step 50

    50

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #AEC2E1

    oklch(80.9% 0.049 259.1)

  5. Step 400

    400

    #83A2D2

    oklch(70.7% 0.079 259)

  6. Step 500

    500

    #648AC6

    oklch(63% 0.101 259.3)

  7. Step 600

    600

    #4B73B2

    oklch(55.5% 0.108 259.2)

  8. Step 700

    700

    #3C6199

    oklch(49.2% 0.1 258.4)

  9. Step 800

    800

    #324F7C

    oklch(42.7% 0.083 258.9)

  10. Step 900

    900 (this color)

    #2A4062

    oklch(37% 0.065 258.8)

  11. Step 950

    950

    #1A273B

    oklch(27.1% 0.042 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A4062 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)#3242630.013
Deuteranopia (no green cones)#2C3D610.009
Tritanopia (no blue cones)#0B484C0.059
Achromatopsia (no color)#3F3F3F0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4062

    #2A4062

    oklch(37% 0.065 258.8)

  • #523B11

    #523B11

    oklch(36.9% 0.065 78.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4062

    #2A4062

    oklch(37% 0.065 258.8)

  • #0F465B

    #0F465B

    oklch(37% 0.065 228.7)

  • #3F3A60

    #3F3A60

    oklch(37.1% 0.064 288.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A4062

    #2A4062

    oklch(37% 0.065 258.8)

  • #5B341F

    #5B341F

    oklch(36.9% 0.065 48.2)

  • #434214

    #434214

    oklch(37% 0.065 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4062

    #2A4062

    oklch(37% 0.065 258.8)

  • #5E3132

    #5E3132

    oklch(37.1% 0.065 19.3)

  • #2D4825

    #2D4825

    oklch(37% 0.066 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4062

    #2A4062

    oklch(37% 0.065 258.8)

  • #593145

    #593145

    oklch(37.1% 0.064 349.4)

  • #523B11

    #523B11

    oklch(36.9% 0.065 78.9)

  • #124B3A

    #124B3A

    oklch(37.1% 0.065 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A4062 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.