#2A4262

Closest named color: Dark Grey Blue (#29465B). oklch(37.5% 0.063 256), rgb(42, 66, 98).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (38%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.05:1
White text10.22:1

Values

HEX#2A4262
RGBrgb(42, 66, 98)
HSLhsl(214, 40%, 27%)
OKLCHoklch(37.5% 0.063 256)

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 #2A4262 10.22:1 AAA Lc -97.7 Preferred for body text
Black text on #2A4262 2.05:1 Fails Lc 10.3 Not readable
#2A4262 text on white 10.22:1 AAA Lc 93.6 Preferred for body text
#2A4262 text on black 2.05:1 Fails Lc -8.9 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

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CEDAEB

    oklch(88.4% 0.027 257)

  4. Step 300

    300

    #ADC3DF

    oklch(81% 0.046 254.5)

  5. Step 400

    400

    #82A3D0

    oklch(70.8% 0.076 256.3)

  6. Step 500

    500

    #628BC3

    oklch(63% 0.096 256.4)

  7. Step 600

    600

    #4875B0

    oklch(55.7% 0.105 255.7)

  8. Step 700

    700

    #396297

    oklch(49.1% 0.097 255.5)

  9. Step 800

    800

    #30507A

    oklch(42.7% 0.08 255.7)

  10. Step 900

    900 (this color)

    #2A4262

    oklch(37.5% 0.063 256)

  11. Step 950

    950

    #19273A

    oklch(27% 0.041 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#2A4262 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)#3544630.017
Deuteranopia (no green cones)#2E3E610.013
Tritanopia (no blue cones)#0A494D0.056
Achromatopsia (no color)#4141410.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A4262

    #2A4262

    oklch(37.5% 0.063 256)

  • #543C16

    #543C16

    oklch(37.5% 0.063 76)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A4262

    #2A4262

    oklch(37.5% 0.063 256)

  • #12485A

    #12485A

    oklch(37.6% 0.062 224.8)

  • #3E3C61

    #3E3C61

    oklch(37.5% 0.063 285.4)

Open the analogous palette in the generator

Split complementary

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

  • #2A4262

    #2A4262

    oklch(37.5% 0.063 256)

  • #5C3623

    #5C3623

    oklch(37.5% 0.062 46.8)

  • #454317

    #454317

    oklch(37.5% 0.063 106.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A4262

    #2A4262

    oklch(37.5% 0.063 256)

  • #5E3236

    #5E3236

    oklch(37.4% 0.064 14.8)

  • #314926

    #314926

    oklch(37.6% 0.064 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A4262

    #2A4262

    oklch(37.5% 0.063 256)

  • #593348

    #593348

    oklch(37.5% 0.063 346.3)

  • #543C16

    #543C16

    oklch(37.5% 0.063 76)

  • #194C39

    #194C39

    oklch(37.6% 0.064 165.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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