#2E24A5#2E24A5

#2E24A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.194 H 275.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#2E24A5
RGBrgb(46, 36, 165)
HSLhsl(245, 64%, 39%)
HSVhsv(245, 78%, 65%)
CMYKcmyk(72.1%, 78.2%, 0%, 35.3%)
CIE-LABlab(25.44, 45.40, -66.88)
CIE-LCHlch(25.44, 80.83, 304.17°)
OKLaboklab(37.7% 0.0175 -0.1934)
OKLCHoklch(37.7% 0.194 275.2)
XYZxyz(8.5469, 4.5584, 36.0194)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A5 #9BA524
analogous
#245BA5 #2E24A5 #6F24A5
triadic
#2E24A5 #A52E24 #24A52E
tetradic
#2E24A5 #A5245B #9BA524 #24A56F
square
#2E24A5 #A5245B #9BA524 #24A56F
split-complementary
#2E24A5 #A56F24 #5BA524
monochromatic
#120E41 #201973 #2E24A5 #4034D3 #6F66DE

Accessibility & contrast

On white

10.98
#2E24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A5
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A5#FFFFFF#000000##FFFFFF
##2E24A51.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A9
Deuteranopia (green-blind)
#0036A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e24a5;
/* rgb */ color: rgb(46, 36, 165);
/* oklch */ color: oklch(37.7% 0.194 275.2);
Tailwind
colors: {
  custom: {
    50: '#7a62c1',
    500: '#2e24a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a5;
$custom-light: #7a62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a5",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 244.651,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37704,
    "c": 0.19418,
    "h": 275.2
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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