#2E2D97#2E2D97

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

Color values

HEX#2E2D97
RGBrgb(46, 45, 151)
HSLhsl(241, 54%, 38%)
HSVhsv(241, 70%, 59%)
CMYKcmyk(69.5%, 70.2%, 0%, 40.8%)
CIE-LABlab(25.84, 35.54, -57.68)
CIE-LCHlch(25.84, 67.75, 301.64°)
OKLaboklab(37.55% 0.015 -0.1666)
OKLCHoklch(37.55% 0.167 275.2)
XYZxyz(7.6492, 4.6913, 29.7746)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D97 #96972D
analogous
#2D6197 #2E2D97 #632D97
triadic
#2E2D97 #972E2D #2D972E
tetradic
#2E2D97 #972D61 #96972D #2D9763
square
#2E2D97 #972D61 #96972D #2D9763
split-complementary
#2E2D97 #97632D #61972D
monochromatic
#111139 #201F68 #2E2D97 #3E3CC5 #6C6BD3

Accessibility & contrast

On white

10.83
#2E2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D97
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D97#FFFFFF#000000##FFFFFF
##2E2D971.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2d97;
/* rgb */ color: rgb(46, 45, 151);
/* oklch */ color: oklch(37.6% 0.167 275.2);
Tailwind
colors: {
  custom: {
    50: '#7667b7',
    500: '#2e2d97',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d97;
$custom-light: #7667b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d97",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 240.566,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.16732,
    "h": 275.2
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#2E2D97
secondary
#B9BA66
accent
#DD4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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