#2E2494#2E2494

#2E2494 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.173 H 277.1°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#2E2494
RGBrgb(46, 36, 148)
HSLhsl(245, 61%, 36%)
HSVhsv(245, 76%, 58%)
CMYKcmyk(68.9%, 75.7%, 0%, 42%)
CIE-LABlab(23.61, 39.87, -59.51)
CIE-LCHlch(23.61, 71.63, 303.82°)
OKLaboklab(35.87% 0.0214 -0.1719)
OKLCHoklch(35.87% 0.173 277.1)
XYZxyz(7.1011, 3.9801, 28.4052)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2494 #8A9424
analogous
#245294 #2E2494 #662494
triadic
#2E2494 #942E24 #24942E
tetradic
#2E2494 #942452 #8A9424 #249466
square
#2E2494 #942452 #8A9424 #249466
split-complementary
#2E2494 #946624 #529424
monochromatic
#0F0C32 #1F1863 #2E2494 #3D30C5 #665BD7

Accessibility & contrast

On white

11.69
#2E2494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E2494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2494
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2494#FFFFFF#000000##FFFFFF
##2E24941.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003392
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2494;
/* rgb */ color: rgb(46, 36, 148);
/* oklch */ color: oklch(35.9% 0.173 277.1);
Tailwind
colors: {
  custom: {
    50: '#7661b5',
    500: '#2e2494',
    950: '#000000',
  },
}
SCSS
$custom: #2e2494;
$custom-light: #7661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2494",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 245.357,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3587,
    "c": 0.17325,
    "h": 277.1
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#2E2494
secondary
#B3BC58
accent
#E444D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2494

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

Preview Lab → · Contrast checker → · Palette generator →

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