#2E2E4A#2E2E4A

#2E2E4A is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.5% C 0.050 H 283.2°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#2E2E4A
RGBrgb(46, 46, 74)
HSLhsl(240, 23%, 24%)
HSVhsv(240, 38%, 29%)
CMYKcmyk(37.8%, 37.8%, 0%, 71%)
CIE-LABlab(20.16, 7.90, -17.34)
CIE-LCHlch(20.16, 19.05, 294.50°)
OKLaboklab(31.47% 0.0113 -0.0484)
OKLCHoklch(31.47% 0.05 283.2)
XYZxyz(3.3394, 3.0291, 6.8860)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E4A #4A4A2E
analogous
#2E3C4A #2E2E4A #3C2E4A
triadic
#2E2E4A #4A2E2E #2E4A2E
tetradic
#2E2E4A #4A2E3C #4A4A2E #2E4A3C
square
#2E2E4A #4A2E3C #4A4A2E #2E4A3C
split-complementary
#2E2E4A #4A3C2E #3C4A2E
monochromatic
#0C0C13 #171724 #2E2E4A #454570 #5D5D95

Accessibility & contrast

On white

13.08
#2E2E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E4A
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E4A#FFFFFF#000000##FFFFFF
##2E2E4A1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324B
Deuteranopia (green-blind)
#243049
Tritanopia (blue-blind)
#273338
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2e4a;
/* rgb */ color: rgb(46, 46, 74);
/* oklch */ color: oklch(31.5% 0.050 283.2);
Tailwind
colors: {
  custom: {
    50: '#68667c',
    500: '#2e2e4a',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e4a;
$custom-light: #68667c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e4a",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 74
  },
  "hsl": {
    "h": 240,
    "s": 23.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31473,
    "c": 0.04971,
    "h": 283.2
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#2E2E4A
secondary
#7B7B59
accent
#C068C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2E2E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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