#2E2D4D#2E2D4D

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

Color values

HEX#2E2D4D
RGBrgb(46, 45, 77)
HSLhsl(242, 26%, 24%)
HSVhsv(242, 42%, 30%)
CMYKcmyk(40.3%, 41.6%, 0%, 69.8%)
CIE-LABlab(20.02, 9.57, -19.59)
CIE-LCHlch(20.02, 21.80, 296.04°)
OKLaboklab(31.42% 0.0138 -0.0549)
OKLCHoklch(31.42% 0.057 284.1)
XYZxyz(3.4043, 2.9933, 7.4181)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D4D #4C4D2D
analogous
#2D3C4D #2E2D4D #3E2D4D
triadic
#2E2D4D #4D2E2D #2D4D2E
tetradic
#2E2D4D #4D2D3C #4C4D2D #2D4D3E
square
#2E2D4D #4D2D3C #4C4D2D #2D4D3E
split-complementary
#2E2D4D #4D3E2D #3C4D2D
monochromatic
#0C0B13 #171626 #2E2D4D #454474 #5C5A9A

Accessibility & contrast

On white

13.14
#2E2D4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2D4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D4D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D4D#FFFFFF#000000##FFFFFF
##2E2D4D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#222F4C
Tritanopia (blue-blind)
#263339
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2d4d;
/* rgb */ color: rgb(46, 45, 77);
/* oklch */ color: oklch(31.4% 0.057 284.1);
Tailwind
colors: {
  custom: {
    50: '#68657f',
    500: '#2e2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d4d;
$custom-light: #68657f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d4d",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 241.875,
    "s": 26.23,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31417,
    "c": 0.05661,
    "h": 284.1
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#2E2D4D
secondary
#7D7F57
accent
#C365C0
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06050A
muted
#7A7A7C

Preview Lab

Preview with #2E2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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