#2E2A92#2E2A92

#2E2A92 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.6% C 0.164 H 276.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2E2A92
RGBrgb(46, 42, 146)
HSLhsl(242, 55%, 37%)
HSVhsv(242, 71%, 57%)
CMYKcmyk(68.5%, 71.2%, 0%, 42.7%)
CIE-LABlab(24.68, 35.66, -56.51)
CIE-LCHlch(24.68, 66.82, 302.25°)
OKLaboklab(36.57% 0.0179 -0.1632)
OKLCHoklch(36.57% 0.164 276.2)
XYZxyz(7.1413, 4.3115, 27.6444)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A92 #8E922A
analogous
#2A5A92 #2E2A92 #622A92
triadic
#2E2A92 #922E2A #2A922E
tetradic
#2E2A92 #922A5A #8E922A #2A9262
square
#2E2A92 #922A5A #8E922A #2A9262
split-complementary
#2E2A92 #92622A #5A922A
monochromatic
#100F33 #1F1C62 #2E2A92 #3D38C2 #6864D2

Accessibility & contrast

On white

11.28
#2E2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2E2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A92
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A92#FFFFFF#000000##FFFFFF
##2E2A921.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e2a92;
/* rgb */ color: rgb(46, 42, 146);
/* oklch */ color: oklch(36.6% 0.164 276.2);
Tailwind
colors: {
  custom: {
    50: '#7564b3',
    500: '#2e2a92',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a92;
$custom-light: #7564b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a92",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 242.308,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36572,
    "c": 0.16418,
    "h": 276.2
  },
  "luminance": 0.04312
}

Semantic roles & 50–950 ramp

primary
#2E2A92
secondary
#B5B85F
accent
#DF49D9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2E2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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