#2E2F48#2E2F48

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

Color values

HEX#2E2F48
RGBrgb(46, 47, 72)
HSLhsl(238, 22%, 23%)
HSVhsv(238, 36%, 28%)
CMYKcmyk(36.1%, 34.7%, 0%, 71.8%)
CIE-LABlab(20.37, 6.56, -15.66)
CIE-LCHlch(20.37, 16.98, 292.74°)
OKLaboklab(31.6% 0.0091 -0.0436)
OKLCHoklch(31.6% 0.045 281.8)
XYZxyz(3.3126, 3.0817, 6.5499)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F48 #48472E
analogous
#2E3C48 #2E2F48 #3A2E48
triadic
#2E2F48 #482E2F #2F482E
tetradic
#2E2F48 #482E3C #48472E #2E483A
square
#2E2F48 #482E3C #48472E #2E483A
split-complementary
#2E2F48 #483A2E #3C482E
monochromatic
#0C0C13 #161723 #2E2F48 #46476D #5E6093

Accessibility & contrast

On white

12.99
#2E2F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2F48
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F48#FFFFFF#000000##FFFFFF
##2E2F481.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283249
Deuteranopia (green-blind)
#263047
Tritanopia (blue-blind)
#273438
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2f48;
/* rgb */ color: rgb(46, 47, 72);
/* oklch */ color: oklch(31.6% 0.044 281.8);
Tailwind
colors: {
  custom: {
    50: '#67677b',
    500: '#2e2f48',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f48;
$custom-light: #67677b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f48",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 72
  },
  "hsl": {
    "h": 237.692,
    "s": 22.034,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31598,
    "c": 0.0445,
    "h": 281.8
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#2E2F48
secondary
#797859
accent
#BB69BF
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2E2F48

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

Preview Lab → · Contrast checker → · Palette generator →

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