#2E2E96#2E2E96

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

Color values

HEX#2E2E96
RGBrgb(46, 46, 150)
HSLhsl(240, 53%, 38%)
HSVhsv(240, 69%, 59%)
CMYKcmyk(69.3%, 69.3%, 0%, 41.2%)
CIE-LABlab(25.97, 34.57, -56.85)
CIE-LCHlch(25.97, 66.54, 301.30°)
OKLaboklab(37.62% 0.0145 -0.1642)
OKLCHoklch(37.62% 0.165 275)
XYZxyz(7.6069, 4.7361, 29.3615)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E96 #96962E
analogous
#2E6296 #2E2E96 #622E96
triadic
#2E2E96 #962E2E #2E962E
tetradic
#2E2E96 #962E62 #96962E #2E9662
square
#2E2E96 #962E62 #96962E #2E9662
split-complementary
#2E2E96 #96622E #62962E
monochromatic
#111138 #202067 #2E2E96 #3E3EC4 #6C6CD2

Accessibility & contrast

On white

10.78
#2E2E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E2E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E96
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E96#FFFFFF#000000##FFFFFF
##2E2E961.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e2e96;
/* rgb */ color: rgb(46, 46, 150);
/* oklch */ color: oklch(37.6% 0.165 275.0);
Tailwind
colors: {
  custom: {
    50: '#7567b6',
    500: '#2e2e96',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e96;
$custom-light: #7567b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e96",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37621,
    "c": 0.16484,
    "h": 275
  },
  "luminance": 0.04737
}

Semantic roles & 50–950 ramp

primary
#2E2E96
secondary
#B9B967
accent
#DC4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #2E2E96

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

Preview Lab → · Contrast checker → · Palette generator →

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