#2E2D6F#2E2D6F

#2E2D6F is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.111 H 279.3°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#2E2D6F
RGBrgb(46, 45, 111)
HSLhsl(241, 42%, 31%)
HSVhsv(241, 59%, 44%)
CMYKcmyk(58.6%, 59.5%, 0%, 56.5%)
CIE-LABlab(22.32, 21.34, -38.30)
CIE-LCHlch(22.32, 43.84, 299.13°)
OKLaboklab(33.89% 0.0181 -0.1097)
OKLCHoklch(33.89% 0.111 279.3)
XYZxyz(4.9334, 3.6050, 15.4717)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D6F #6E6F2D
analogous
#2D4D6F #2E2D6F #4F2D6F
triadic
#2E2D6F #6F2E2D #2D6F2E
tetradic
#2E2D6F #6F2D4D #6E6F2D #2D6F4F
square
#2E2D6F #6F2D4D #6E6F2D #2D6F4F
split-complementary
#2E2D6F #6F4F2D #4D6F2D
monochromatic
#0A0A18 #1C1B43 #2E2D6F #403F9B #5C5ABC

Accessibility & contrast

On white

12.20
#2E2D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E2D6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D6F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D6F#FFFFFF#000000##FFFFFF
##2E2D6F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#0D3C49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2d6f;
/* rgb */ color: rgb(46, 45, 111);
/* oklch */ color: oklch(33.9% 0.111 279.3);
Tailwind
colors: {
  custom: {
    50: '#6d6699',
    500: '#2e2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d6f;
$custom-light: #6d6699;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d6f",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 240.909,
    "s": 42.308,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33894,
    "c": 0.11122,
    "h": 279.3
  },
  "luminance": 0.03605
}

Semantic roles & 50–950 ramp

primary
#2E2D6F
secondary
#9FA157
accent
#D256D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #2E2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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