#2E24A7#2E24A7

#2E24A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.197 H 275.0°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#2E24A7
RGBrgb(46, 36, 167)
HSLhsl(245, 65%, 40%)
HSVhsv(245, 78%, 65%)
CMYKcmyk(72.5%, 78.4%, 0%, 34.5%)
CIE-LABlab(25.66, 46.03, -67.72)
CIE-LCHlch(25.66, 81.89, 304.21°)
OKLaboklab(37.92% 0.017 -0.1958)
OKLCHoklch(37.92% 0.197 275)
XYZxyz(8.7303, 4.6318, 36.9856)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A7 #9DA724
analogous
#245CA7 #2E24A7 #6F24A7
triadic
#2E24A7 #A72E24 #24A72E
tetradic
#2E24A7 #A7245C #9DA724 #24A76F
square
#2E24A7 #A7245C #9DA724 #24A76F
split-complementary
#2E24A7 #A76F24 #5CA724
monochromatic
#120E42 #201975 #2E24A7 #4135D3 #7067DE

Accessibility & contrast

On white

10.90
#2E24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2E24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A7
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A7#FFFFFF#000000##FFFFFF
##2E24A71.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e24a7;
/* rgb */ color: rgb(46, 36, 167);
/* oklch */ color: oklch(37.9% 0.197 275.0);
Tailwind
colors: {
  custom: {
    50: '#7a62c2',
    500: '#2e24a7',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a7;
$custom-light: #7a62c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a7",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 244.58,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.19657,
    "h": 275
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#2E24A7
secondary
#BDC463
accent
#E840DB
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2E24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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