#2E2E5D#2E2E5D

#2E2E5D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.082 H 280.9°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2E5D
RGBrgb(46, 46, 93)
HSLhsl(240, 34%, 27%)
HSVhsv(240, 51%, 36%)
CMYKcmyk(50.5%, 50.5%, 0%, 63.5%)
CIE-LABlab(21.30, 14.27, -28.21)
CIE-LCHlch(21.30, 31.62, 296.84°)
OKLaboklab(32.71% 0.0154 -0.0801)
OKLCHoklch(32.71% 0.082 280.9)
XYZxyz(4.0789, 3.3249, 10.7807)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E5D #5D5D2E
analogous
#2E465D #2E2E5D #462E5D
triadic
#2E2E5D #5D2E2E #2E5D2E
tetradic
#2E2E5D #5D2E46 #5D5D2E #2E5D46
square
#2E2E5D #5D2E46 #5D5D2E #2E5D46
split-complementary
#2E2E5D #5D462E #465D2E
monochromatic
#0A0A14 #1A1A34 #2E2E5D #424286 #5959AD

Accessibility & contrast

On white

12.61
#2E2E5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2E2E5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E5D
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E5D#FFFFFF#000000##FFFFFF
##2E2E5D1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A355F
Deuteranopia (green-blind)
#17315C
Tritanopia (blue-blind)
#1E3841
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e2e5d;
/* rgb */ color: rgb(46, 46, 93);
/* oklch */ color: oklch(32.7% 0.082 280.9);
Tailwind
colors: {
  custom: {
    50: '#6a668b',
    500: '#2e2e5d',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e5d;
$custom-light: #6a668b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e5d",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 240,
    "s": 33.813,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32714,
    "c": 0.08157,
    "h": 280.9
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#2E2E5D
secondary
#8F8F58
accent
#CA5ECA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E2E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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