#2E313A#2E313A

#2E313A is a dark, near-neutral blue. Relative luminance 0.031; OKLCH L 31.4% C 0.017 H 270.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#2E313A
RGBrgb(46, 49, 58)
HSLhsl(225, 12%, 20%)
HSVhsv(225, 21%, 23%)
CMYKcmyk(20.7%, 15.5%, 0%, 77.3%)
CIE-LABlab(20.37, 1.03, -6.13)
CIE-LCHlch(20.37, 6.21, 279.59°)
OKLaboklab(31.39% 0.0002 -0.0166)
OKLCHoklch(31.39% 0.017 270.8)
XYZxyz(2.9886, 3.0829, 4.4398)
Luminance0.0308 (WCAG relative)
Temperatureneutral
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E313A #3A372E
analogous
#2E373A #2E313A #312E3A
triadic
#2E313A #3A2E31 #313A2E
tetradic
#2E313A #3A2E37 #3A372E #2E3A31
square
#2E313A #3A2E37 #3A372E #2E3A31
split-complementary
#2E313A #3A312E #373A2E
monochromatic
#0E0E11 #131418 #2E313A #494E5C #646B7E

Accessibility & contrast

On white

12.99
#2E313A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#2E313A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E313A
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E313A#FFFFFF#000000##FFFFFF
##2E313A1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323A
Deuteranopia (green-blind)
#2E313A
Tritanopia (blue-blind)
#2B3334
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e313a;
/* rgb */ color: rgb(46, 49, 58);
/* oklch */ color: oklch(31.4% 0.017 270.8);
Tailwind
colors: {
  custom: {
    50: '#666970',
    500: '#2e313a',
    950: '#000000',
  },
}
SCSS
$custom: #2e313a;
$custom-light: #666970;
$custom-dark: #000000;
JSON
{
  "hex": "#2e313a",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 225,
    "s": 11.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31391,
    "c": 0.01663,
    "h": 270.8
  },
  "luminance": 0.03083
}

Semantic roles & 50–950 ramp

primary
#2E313A
secondary
#6A665A
accent
#A473B4
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2E313A

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

Preview Lab → · Contrast checker → · Palette generator →

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