#2E24A1#2E24A1

#2E24A1 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.189 H 275.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#2E24A1
RGBrgb(46, 36, 161)
HSLhsl(245, 63%, 39%)
HSVhsv(245, 78%, 63%)
CMYKcmyk(71.4%, 77.6%, 0%, 36.9%)
CIE-LABlab(25.00, 44.11, -65.17)
CIE-LCHlch(25.00, 78.70, 304.09°)
OKLaboklab(37.27% 0.0184 -0.1884)
OKLCHoklch(37.27% 0.189 275.6)
XYZxyz(8.1885, 4.4150, 34.1320)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A1 #97A124
analogous
#2458A1 #2E24A1 #6C24A1
triadic
#2E24A1 #A12E24 #24A12E
tetradic
#2E24A1 #A12458 #97A124 #24A16C
square
#2E24A1 #A12458 #97A124 #24A16C
split-complementary
#2E24A1 #A16C24 #58A124
monochromatic
#110E3D #20196F #2E24A1 #3E31D1 #6D63DC

Accessibility & contrast

On white

11.15
#2E24A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E24A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A1
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A1#FFFFFF#000000##FFFFFF
##2E24A11.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e24a1;
/* rgb */ color: rgb(46, 36, 161);
/* oklch */ color: oklch(37.3% 0.189 275.6);
Tailwind
colors: {
  custom: {
    50: '#7961be',
    500: '#2e24a1',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a1;
$custom-light: #7961be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a1",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 161
  },
  "hsl": {
    "h": 244.8,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37267,
    "c": 0.18934,
    "h": 275.6
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#2E24A1
secondary
#BAC25F
accent
#E641D9
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E24A1

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

Preview Lab → · Contrast checker → · Palette generator →

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