#2E239B#2E239B

#2E239B is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.5% C 0.183 H 276.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#2E239B
RGBrgb(46, 35, 155)
HSLhsl(246, 63%, 37%)
HSVhsv(246, 77%, 61%)
CMYKcmyk(70.3%, 77.4%, 0%, 39.2%)
CIE-LABlab(24.16, 42.71, -62.90)
CIE-LCHlch(24.16, 76.03, 304.18°)
OKLaboklab(36.48% 0.0203 -0.1818)
OKLCHoklch(36.48% 0.183 276.4)
XYZxyz(7.6422, 4.1488, 31.4020)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E239B #909B23
analogous
#23549B #2E239B #6A239B
triadic
#2E239B #9B2E23 #239B2E
tetradic
#2E239B #9B2354 #909B23 #239B6A
square
#2E239B #9B2354 #909B23 #239B6A
split-complementary
#2E239B #9B6A23 #549B23
monochromatic
#100C37 #1F1869 #2E239B #3D2ECD #695EDB

Accessibility & contrast

On white

11.48
#2E239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E239B
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E239B#FFFFFF#000000##FFFFFF
##2E239B1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e239b;
/* rgb */ color: rgb(46, 35, 155);
/* oklch */ color: oklch(36.5% 0.183 276.4);
Tailwind
colors: {
  custom: {
    50: '#7860ba',
    500: '#2e239b',
    950: '#000000',
  },
}
SCSS
$custom: #2e239b;
$custom-light: #7860ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e239b",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 245.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36482,
    "c": 0.18294,
    "h": 276.4
  },
  "luminance": 0.04149
}

Semantic roles & 50–950 ramp

primary
#2E239B
secondary
#B6BF5A
accent
#E642D7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E239B

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

Preview Lab → · Contrast checker → · Palette generator →

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