#2E313E#2E313E

#2E313E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.024 H 274.8°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#2E313E
RGBrgb(46, 49, 62)
HSLhsl(229, 15%, 21%)
HSVhsv(229, 26%, 24%)
CMYKcmyk(25.8%, 21%, 0%, 75.7%)
CIE-LABlab(20.54, 2.16, -8.61)
CIE-LCHlch(20.54, 8.87, 284.09°)
OKLaboklab(31.57% 0.002 -0.0235)
OKLCHoklch(31.57% 0.024 274.8)
XYZxyz(3.0943, 3.1252, 4.9967)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E313E #3E3B2E
analogous
#2E393E #2E313E #332E3E
triadic
#2E313E #3E2E31 #313E2E
tetradic
#2E313E #3E2E39 #3E3B2E #2E3E33
square
#2E313E #3E2E39 #3E3B2E #2E3E33
split-complementary
#2E313E #3E332E #393E2E
monochromatic
#0D0E12 #14151B #2E313E #484D61 #626984

Accessibility & contrast

On white

12.92
#2E313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E313E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E313E
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E313E#FFFFFF#000000##FFFFFF
##2E313E1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D323F
Deuteranopia (green-blind)
#2C313E
Tritanopia (blue-blind)
#2A3335
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e313e;
/* rgb */ color: rgb(46, 49, 62);
/* oklch */ color: oklch(31.6% 0.024 274.8);
Tailwind
colors: {
  custom: {
    50: '#676973',
    500: '#2e313e',
    950: '#000000',
  },
}
SCSS
$custom: #2e313e;
$custom-light: #676973;
$custom-dark: #000000;
JSON
{
  "hex": "#2e313e",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 228.75,
    "s": 14.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.02362,
    "h": 274.8
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#2E313E
secondary
#6E6A5A
accent
#AA70B8
background
#F6F6F6
surface
#EBEBEC
border
#C6C6C7
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E313E

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

Preview Lab → · Contrast checker → · Palette generator →

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