#2E244B#2E244B

#2E244B is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.3% C 0.070 H 293.4°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#2E244B
RGBrgb(46, 36, 75)
HSLhsl(255, 35%, 22%)
HSVhsv(255, 52%, 29%)
CMYKcmyk(38.7%, 52%, 0%, 70.6%)
CIE-LABlab(17.23, 15.27, -22.64)
CIE-LCHlch(17.23, 27.30, 304.00°)
OKLaboklab(29.26% 0.0277 -0.0638)
OKLCHoklch(29.26% 0.07 293.4)
XYZxyz(3.0273, 2.3505, 6.9494)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E244B #414B24
analogous
#242E4B #2E244B #42244B
triadic
#2E244B #4B2E24 #244B2E
tetradic
#2E244B #4B242E #414B24 #244B42
square
#2E244B #4B242E #414B24 #244B42
split-complementary
#2E244B #4B4224 #2E4B24
monochromatic
#0D0A15 #151022 #2E244B #473874 #614C9E

Accessibility & contrast

On white

14.28
#2E244B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#2E244B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E244B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E244B#FFFFFF#000000##FFFFFF
##2E244B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172B4C
Deuteranopia (green-blind)
#182A4A
Tritanopia (blue-blind)
#272B33
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2e244b;
/* rgb */ color: rgb(46, 36, 75);
/* oklch */ color: oklch(29.3% 0.070 293.4);
Tailwind
colors: {
  custom: {
    50: '#685e7d',
    500: '#2e244b',
    950: '#000000',
  },
}
SCSS
$custom: #2e244b;
$custom-light: #685e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e244b",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 75
  },
  "hsl": {
    "h": 255.385,
    "s": 35.135,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29262,
    "c": 0.06954,
    "h": 293.4
  },
  "luminance": 0.02351
}

Semantic roles & 50–950 ramp

primary
#2E244B
secondary
#727E4C
accent
#CB5DAF
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#060409
muted
#7A797B

Preview Lab

Preview with #2E244B

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

Preview Lab → · Contrast checker → · Palette generator →

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