#2E313C#2E313C

#2E313C is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.5% C 0.020 H 273.2°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#2E313C
RGBrgb(46, 49, 60)
HSLhsl(227, 13%, 21%)
HSVhsv(227, 23%, 24%)
CMYKcmyk(23.3%, 18.3%, 0%, 76.5%)
CIE-LABlab(20.45, 1.59, -7.37)
CIE-LCHlch(20.45, 7.54, 282.17°)
OKLaboklab(31.48% 0.0011 -0.0201)
OKLCHoklch(31.48% 0.02 273.2)
XYZxyz(3.0404, 3.1037, 4.7130)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E313C #3C392E
analogous
#2E383C #2E313C #322E3C
triadic
#2E313C #3C2E31 #313C2E
tetradic
#2E313C #3C2E38 #3C392E #2E3C32
square
#2E313C #3C2E38 #3C392E #2E3C32
split-complementary
#2E313C #3C322E #383C2E
monochromatic
#0D0E11 #131519 #2E313C #494D5F #636A81

Accessibility & contrast

On white

12.96
#2E313C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E313C
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E313C#FFFFFF#000000##FFFFFF
##2E313C1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E323D
Deuteranopia (green-blind)
#2D313C
Tritanopia (blue-blind)
#2B3335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e313c;
/* rgb */ color: rgb(46, 49, 60);
/* oklch */ color: oklch(31.5% 0.020 273.2);
Tailwind
colors: {
  custom: {
    50: '#676971',
    500: '#2e313c',
    950: '#000000',
  },
}
SCSS
$custom: #2e313c;
$custom-light: #676971;
$custom-dark: #000000;
JSON
{
  "hex": "#2e313c",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 227.143,
    "s": 13.208,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31482,
    "c": 0.02011,
    "h": 273.2
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#2E313C
secondary
#6C685A
accent
#A772B6
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060607
muted
#7A7A7A

Preview Lab

Preview with #2E313C

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

Preview Lab → · Contrast checker → · Palette generator →

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