#2E2492#2E2492

#2E2492 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.171 H 277.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2492
RGBrgb(46, 36, 146)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 57%)
CMYKcmyk(68.5%, 75.3%, 0%, 42.7%)
CIE-LABlab(23.40, 39.21, -58.62)
CIE-LCHlch(23.40, 70.52, 303.78°)
OKLaboklab(35.66% 0.0218 -0.1693)
OKLCHoklch(35.66% 0.171 277.3)
XYZxyz(6.9442, 3.9173, 27.5787)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2492 #889224
analogous
#245192 #2E2492 #652492
triadic
#2E2492 #922E24 #24922E
tetradic
#2E2492 #922451 #889224 #249265
square
#2E2492 #922451 #889224 #249265
split-complementary
#2E2492 #926524 #519224
monochromatic
#0F0C30 #1F1861 #2E2492 #3D30C3 #655AD6

Accessibility & contrast

On white

11.77
#2E2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2E2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2492
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2492#FFFFFF#000000##FFFFFF
##2E24921.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2492;
/* rgb */ color: rgb(46, 36, 146);
/* oklch */ color: oklch(35.7% 0.171 277.3);
Tailwind
colors: {
  custom: {
    50: '#7561b3',
    500: '#2e2492',
    950: '#000000',
  },
}
SCSS
$custom: #2e2492;
$custom-light: #7561b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2492",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 245.455,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35659,
    "c": 0.17074,
    "h": 277.3
  },
  "luminance": 0.03918
}

Semantic roles & 50–950 ramp

primary
#2E2492
secondary
#B2BB57
accent
#E444D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2492

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

Preview Lab → · Contrast checker → · Palette generator →

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