#2E2D96#2E2D96

#2E2D96 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.166 H 275.2°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#2E2D96
RGBrgb(46, 45, 150)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 59%)
CMYKcmyk(69.3%, 70%, 0%, 41.2%)
CIE-LABlab(25.74, 35.19, -57.23)
CIE-LCHlch(25.74, 67.18, 301.59°)
OKLaboklab(37.46% 0.0152 -0.1653)
OKLCHoklch(37.46% 0.166 275.2)
XYZxyz(7.5683, 4.6589, 29.3487)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D96 #95962D
analogous
#2D6196 #2E2D96 #622D96
triadic
#2E2D96 #962E2D #2D962E
tetradic
#2E2D96 #962D61 #95962D #2D9662
square
#2E2D96 #962D61 #95962D #2D9662
split-complementary
#2E2D96 #96622D #61962D
monochromatic
#111138 #201F67 #2E2D96 #3D3CC4 #6C6BD3

Accessibility & contrast

On white

10.87
#2E2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E2D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D96
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D96#FFFFFF#000000##FFFFFF
##2E2D961.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2d96;
/* rgb */ color: rgb(46, 45, 150);
/* oklch */ color: oklch(37.5% 0.166 275.2);
Tailwind
colors: {
  custom: {
    50: '#7667b6',
    500: '#2e2d96',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d96;
$custom-light: #7667b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d96",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 240.571,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37456,
    "c": 0.166,
    "h": 275.2
  },
  "luminance": 0.0466
}

Semantic roles & 50–950 ramp

primary
#2E2D96
secondary
#B9B965
accent
#DD4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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