#2E2594#2E2594

#2E2594 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.0% C 0.172 H 276.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E2594
RGBrgb(46, 37, 148)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 58%)
CMYKcmyk(68.9%, 75%, 0%, 42%)
CIE-LABlab(23.81, 39.30, -59.17)
CIE-LCHlch(23.81, 71.04, 303.59°)
OKLaboklab(36.01% 0.0208 -0.171)
OKLCHoklch(36.01% 0.172 276.9)
XYZxyz(7.1318, 4.0415, 28.4155)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2594 #8B9425
analogous
#255494 #2E2594 #662594
triadic
#2E2594 #942E25 #25942E
tetradic
#2E2594 #942554 #8B9425 #259466
square
#2E2594 #942554 #8B9425 #259466
split-complementary
#2E2594 #946625 #549425
monochromatic
#100D32 #1F1963 #2E2594 #3D31C5 #675DD6

Accessibility & contrast

On white

11.61
#2E2594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E2594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2594
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2594#FFFFFF#000000##FFFFFF
##2E25941.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#00455A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e2594;
/* rgb */ color: rgb(46, 37, 148);
/* oklch */ color: oklch(36.0% 0.172 276.9);
Tailwind
colors: {
  custom: {
    50: '#7661b5',
    500: '#2e2594',
    950: '#000000',
  },
}
SCSS
$custom: #2e2594;
$custom-light: #7661b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2594",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 148
  },
  "hsl": {
    "h": 244.865,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.17223,
    "h": 276.9
  },
  "luminance": 0.04042
}

Semantic roles & 50–950 ramp

primary
#2E2594
secondary
#B3BB59
accent
#E345D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2E2594

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

Preview Lab → · Contrast checker → · Palette generator →

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