#2E2592#2E2592

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

Color values

HEX#2E2592
RGBrgb(46, 37, 146)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 57%)
CMYKcmyk(68.5%, 74.7%, 0%, 42.7%)
CIE-LABlab(23.60, 38.64, -58.28)
CIE-LCHlch(23.60, 69.93, 303.54°)
OKLaboklab(35.8% 0.0212 -0.1684)
OKLCHoklch(35.8% 0.17 277.2)
XYZxyz(6.9749, 3.9787, 27.5890)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2592 #899225
analogous
#255292 #2E2592 #642592
triadic
#2E2592 #922E25 #25922E
tetradic
#2E2592 #922552 #899225 #259264
square
#2E2592 #922552 #899225 #259264
split-complementary
#2E2592 #926425 #529225
monochromatic
#0F0C30 #1F1961 #2E2592 #3D31C3 #665CD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2592#FFFFFF#000000##FFFFFF
##2E25921.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)
#003D95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e2592;
/* rgb */ color: rgb(46, 37, 146);
/* oklch */ color: oklch(35.8% 0.170 277.2);
Tailwind
colors: {
  custom: {
    50: '#7561b3',
    500: '#2e2592',
    950: '#000000',
  },
}
SCSS
$custom: #2e2592;
$custom-light: #7561b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2592",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 146
  },
  "hsl": {
    "h": 244.954,
    "s": 59.563,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35804,
    "c": 0.16969,
    "h": 277.2
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E2592

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

Preview Lab → · Contrast checker → · Palette generator →

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