#2E24A4#2E24A4

#2E24A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.193 H 275.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#2E24A4
RGBrgb(46, 36, 164)
HSLhsl(245, 64%, 39%)
HSVhsv(245, 78%, 64%)
CMYKcmyk(72%, 78%, 0%, 35.7%)
CIE-LABlab(25.33, 45.08, -66.45)
CIE-LCHlch(25.33, 80.30, 304.15°)
OKLaboklab(37.6% 0.0177 -0.1921)
OKLCHoklch(37.6% 0.193 275.3)
XYZxyz(8.4562, 4.5221, 35.5420)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A4 #9AA424
analogous
#245AA4 #2E24A4 #6E24A4
triadic
#2E24A4 #A42E24 #24A42E
tetradic
#2E24A4 #A4245A #9AA424 #24A46E
square
#2E24A4 #A4245A #9AA424 #24A46E
split-complementary
#2E24A4 #A46E24 #5AA424
monochromatic
#120E40 #201972 #2E24A4 #3F33D2 #6F65DD

Accessibility & contrast

On white

11.03
#2E24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A4
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A4#FFFFFF#000000##FFFFFF
##2E24A41.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e24a4;
/* rgb */ color: rgb(46, 36, 164);
/* oklch */ color: oklch(37.6% 0.193 275.3);
Tailwind
colors: {
  custom: {
    50: '#7a62c0',
    500: '#2e24a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a4;
$custom-light: #7a62c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a4",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 244.688,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37595,
    "c": 0.19296,
    "h": 275.3
  },
  "luminance": 0.04523
}

Semantic roles & 50–950 ramp

primary
#2E24A4
secondary
#BBC361
accent
#E741DA
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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