#2E2D91#2E2D91

#2E2D91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.159 H 275.7°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#2E2D91
RGBrgb(46, 45, 145)
HSLhsl(241, 53%, 37%)
HSVhsv(241, 69%, 57%)
CMYKcmyk(68.3%, 69%, 0%, 43.1%)
CIE-LABlab(25.26, 33.45, -54.93)
CIE-LCHlch(25.26, 64.31, 301.34°)
OKLaboklab(36.97% 0.0158 -0.1586)
OKLCHoklch(36.97% 0.159 275.7)
XYZxyz(7.1743, 4.5013, 27.2733)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D91 #90912D
analogous
#2D5E91 #2E2D91 #602D91
triadic
#2E2D91 #912E2D #2D912E
tetradic
#2E2D91 #912D5E #90912D #2D9160
square
#2E2D91 #912D5E #90912D #2D9160
split-complementary
#2E2D91 #91602D #5E912D
monochromatic
#101034 #1F1F62 #2E2D91 #3D3BC0 #6968D0

Accessibility & contrast

On white

11.05
#2E2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D91
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D91#FFFFFF#000000##FFFFFF
##2E2D911.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e2d91;
/* rgb */ color: rgb(46, 45, 145);
/* oklch */ color: oklch(37.0% 0.159 275.7);
Tailwind
colors: {
  custom: {
    50: '#7466b2',
    500: '#2e2d91',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d91;
$custom-light: #7466b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d91",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 240.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36966,
    "c": 0.15937,
    "h": 275.7
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#2E2D91
secondary
#B6B763
accent
#DC4CDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2E2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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