#2E323F#2E323F

#2E323F is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.9% C 0.024 H 271.6°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#2E323F
RGBrgb(46, 50, 63)
HSLhsl(226, 16%, 21%)
HSVhsv(226, 27%, 25%)
CMYKcmyk(27%, 20.6%, 0%, 75.3%)
CIE-LABlab(20.91, 1.76, -8.73)
CIE-LCHlch(20.91, 8.90, 281.42°)
OKLaboklab(31.88% 0.0007 -0.0239)
OKLCHoklch(31.88% 0.024 271.6)
XYZxyz(3.1643, 3.2209, 5.1566)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E323F #3F3B2E
analogous
#2E3B3F #2E323F #332E3F
triadic
#2E323F #3F2E32 #323F2E
tetradic
#2E323F #3F2E3B #3F3B2E #2E3F33
square
#2E323F #3F2E3B #3F3B2E #2E3F33
split-complementary
#2E323F #3F332E #3B3F2E
monochromatic
#0D0E12 #14161C #2E323F #484E62 #626A86

Accessibility & contrast

On white

12.77
#2E323F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E323F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E323F
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E323F#FFFFFF#000000##FFFFFF
##2E323F1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e323f;
/* rgb */ color: rgb(46, 50, 63);
/* oklch */ color: oklch(31.9% 0.024 271.6);
Tailwind
colors: {
  custom: {
    50: '#676974',
    500: '#2e323f',
    950: '#000000',
  },
}
SCSS
$custom: #2e323f;
$custom-light: #676974;
$custom-dark: #000000;
JSON
{
  "hex": "#2e323f",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 63
  },
  "hsl": {
    "h": 225.882,
    "s": 15.596,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31878,
    "c": 0.02389,
    "h": 271.6
  },
  "luminance": 0.03221
}

Semantic roles & 50–950 ramp

primary
#2E323F
secondary
#6F6A59
accent
#A76FB8
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060608
muted
#7A7A7B

Preview Lab

Preview with #2E323F

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

Preview Lab → · Contrast checker → · Palette generator →

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