#2A2E41#2A2E41

#2A2E41 is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.6% C 0.035 H 275.0°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#2A2E41
RGBrgb(42, 46, 65)
HSLhsl(230, 21%, 21%)
HSVhsv(230, 35%, 25%)
CMYKcmyk(35.4%, 29.2%, 0%, 74.5%)
CIE-LABlab(19.34, 3.65, -12.52)
CIE-LCHlch(19.34, 13.04, 286.26°)
OKLaboklab(30.6% 0.003 -0.0346)
OKLCHoklch(30.6% 0.035 275)
XYZxyz(2.8857, 2.8278, 5.3938)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2E41 #413D2A
analogous
#2A3941 #2A2E41 #312A41
triadic
#2A2E41 #412A2E #2E412A
tetradic
#2A2E41 #412A39 #413D2A #2A4131
square
#2A2E41 #412A39 #413D2A #2A4131
split-complementary
#2A2E41 #41312A #39412A
monochromatic
#0C0D13 #12141C #2A2E41 #424866 #5A638B

Accessibility & contrast

On white

13.41
#2A2E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#2A2E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2E41
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2E41#FFFFFF#000000##FFFFFF
##2A2E411.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283042
Deuteranopia (green-blind)
#272E41
Tritanopia (blue-blind)
#243235
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #2a2e41;
/* rgb */ color: rgb(42, 46, 65);
/* oklch */ color: oklch(30.6% 0.035 275.0);
Tailwind
colors: {
  custom: {
    50: '#646675',
    500: '#2a2e41',
    950: '#000000',
  },
}
SCSS
$custom: #2a2e41;
$custom-light: #646675;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2e41",
  "rgb": {
    "r": 42,
    "g": 46,
    "b": 65
  },
  "hsl": {
    "h": 229.565,
    "s": 21.495,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30597,
    "c": 0.03478,
    "h": 275
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#2A2E41
secondary
#726D54
accent
#AF6ABE
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B

Preview Lab

Preview with #2A2E41

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2A2E41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva