#2E1F83#2E1F83

#2E1F83 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.157 H 280.5°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#2E1F83
RGBrgb(46, 31, 131)
HSLhsl(249, 62%, 32%)
HSVhsv(249, 76%, 51%)
CMYKcmyk(64.9%, 76.3%, 0%, 48.6%)
CIE-LABlab(20.82, 37.12, -53.49)
CIE-LCHlch(20.82, 65.11, 304.76°)
OKLaboklab(33.37% 0.0286 -0.1543)
OKLCHoklch(33.37% 0.157 280.5)
XYZxyz(5.7121, 3.1991, 21.7848)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1F83 #74831F
analogous
#1F4283 #2E1F83 #601F83
triadic
#2E1F83 #832E1F #1F832E
tetradic
#2E1F83 #831F42 #74831F #1F8360
square
#2E1F83 #831F42 #74831F #1F8360
split-complementary
#2E1F83 #83601F #42831F
monochromatic
#0B0820 #1D1352 #2E1F83 #3F2BB4 #5D49D4

Accessibility & contrast

On white

12.80
#2E1F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2E1F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1F83
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1F83#FFFFFF#000000##FFFFFF
##2E1F831.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e1f83;
/* rgb */ color: rgb(46, 31, 131);
/* oklch */ color: oklch(33.4% 0.157 280.5);
Tailwind
colors: {
  custom: {
    50: '#735da8',
    500: '#2e1f83',
    950: '#000000',
  },
}
SCSS
$custom: #2e1f83;
$custom-light: #735da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1f83",
  "rgb": {
    "r": 46,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 249,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3337,
    "c": 0.15694,
    "h": 280.5
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#2E1F83
secondary
#A5B648
accent
#E543CD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #2E1F83

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

Preview Lab → · Contrast checker → · Palette generator →

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