#2E2F45#2E2F45

#2E2F45 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.4% C 0.039 H 281.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#2E2F45
RGBrgb(46, 47, 69)
HSLhsl(237, 20%, 23%)
HSVhsv(237, 33%, 27%)
CMYKcmyk(33.3%, 31.9%, 0%, 72.9%)
CIE-LABlab(20.22, 5.63, -13.86)
CIE-LCHlch(20.22, 14.96, 292.10°)
OKLaboklab(31.43% 0.0081 -0.0384)
OKLCHoklch(31.43% 0.039 281.9)
XYZxyz(3.2171, 3.0435, 6.0470)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F45 #45442E
analogous
#2E3B45 #2E2F45 #382E45
triadic
#2E2F45 #452E2F #2F452E
tetradic
#2E2F45 #452E3B #45442E #2E4538
square
#2E2F45 #452E3B #45442E #2E4538
split-complementary
#2E2F45 #45382E #3B452E
monochromatic
#0C0D12 #161620 #2E2F45 #46486A #5F618E

Accessibility & contrast

On white

13.05
#2E2F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F45
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F45#FFFFFF#000000##FFFFFF
##2E2F451.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293246
Deuteranopia (green-blind)
#283044
Tritanopia (blue-blind)
#283337
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2f45;
/* rgb */ color: rgb(46, 47, 69);
/* oklch */ color: oklch(31.4% 0.039 281.9);
Tailwind
colors: {
  custom: {
    50: '#676778',
    500: '#2e2f45',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f45;
$custom-light: #676778;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f45",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 69
  },
  "hsl": {
    "h": 237.391,
    "s": 20,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31432,
    "c": 0.03925,
    "h": 281.9
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#2E2F45
secondary
#767559
accent
#B96BBD
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2E2F45

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

Preview Lab → · Contrast checker → · Palette generator →

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