#2E2992#2E2992

#2E2992 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.165 H 276.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2992
RGBrgb(46, 41, 146)
HSLhsl(243, 56%, 37%)
HSVhsv(243, 72%, 57%)
CMYKcmyk(68.5%, 71.9%, 0%, 42.7%)
CIE-LABlab(24.45, 36.27, -56.88)
CIE-LCHlch(24.45, 67.46, 302.52°)
OKLaboklab(36.41% 0.0186 -0.1643)
OKLCHoklch(36.41% 0.165 276.4)
XYZxyz(7.1063, 4.2414, 27.6327)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2992 #8D9229
analogous
#295992 #2E2992 #632992
triadic
#2E2992 #922E29 #29922E
tetradic
#2E2992 #922959 #8D9229 #299263
square
#2E2992 #922959 #8D9229 #299263
split-complementary
#2E2992 #926329 #599229
monochromatic
#100E32 #1F1C62 #2E2992 #3D36C2 #6862D3

Accessibility & contrast

On white

11.36
#2E2992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2992
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2992#FFFFFF#000000##FFFFFF
##2E29921.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003590
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2992;
/* rgb */ color: rgb(46, 41, 146);
/* oklch */ color: oklch(36.4% 0.165 276.4);
Tailwind
colors: {
  custom: {
    50: '#7564b3',
    500: '#2e2992',
    950: '#000000',
  },
}
SCSS
$custom: #2e2992;
$custom-light: #7564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2992",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 242.857,
    "s": 56.15,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36413,
    "c": 0.16532,
    "h": 276.4
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#2E2992
secondary
#B5B95E
accent
#DF48D8
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2992

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

Preview Lab → · Contrast checker → · Palette generator →

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