#2E313F#2E313F

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

Color values

HEX#2E313F
RGBrgb(46, 49, 63)
HSLhsl(229, 16%, 21%)
HSVhsv(229, 27%, 25%)
CMYKcmyk(27%, 22.2%, 0%, 75.3%)
CIE-LABlab(20.58, 2.45, -9.22)
CIE-LCHlch(20.58, 9.54, 284.87°)
OKLaboklab(31.62% 0.0024 -0.0253)
OKLCHoklch(31.62% 0.025 275.4)
XYZxyz(3.1220, 3.1363, 5.1425)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E313F #3F3C2E
analogous
#2E3A3F #2E313F #342E3F
triadic
#2E313F #3F2E31 #313F2E
tetradic
#2E313F #3F2E3A #3F3C2E #2E3F34
square
#2E313F #3F2E3A #3F3C2E #2E3F34
split-complementary
#2E313F #3F342E #3A3F2E
monochromatic
#0D0E12 #14151C #2E313F #484D62 #626886

Accessibility & contrast

On white

12.91
#2E313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E313F
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E313F#FFFFFF#000000##FFFFFF
##2E313F1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3240
Deuteranopia (green-blind)
#2C313F
Tritanopia (blue-blind)
#2A3436
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e313f;
/* rgb */ color: rgb(46, 49, 63);
/* oklch */ color: oklch(31.6% 0.025 275.4);
Tailwind
colors: {
  custom: {
    50: '#676974',
    500: '#2e313f',
    950: '#000000',
  },
}
SCSS
$custom: #2e313f;
$custom-light: #676974;
$custom-dark: #000000;
JSON
{
  "hex": "#2e313f",
  "rgb": {
    "r": 46,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 229.412,
    "s": 15.596,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.02537,
    "h": 275.4
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#2E313F
secondary
#6F6B59
accent
#AB6FB8
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E313F

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

Preview Lab → · Contrast checker → · Palette generator →

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