#2E24A9#2E24A9

#2E24A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.199 H 274.8°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#2E24A9
RGBrgb(46, 36, 169)
HSLhsl(245, 65%, 40%)
HSVhsv(245, 79%, 66%)
CMYKcmyk(72.8%, 78.7%, 0%, 33.7%)
CIE-LABlab(25.88, 46.67, -68.56)
CIE-LCHlch(25.88, 82.94, 304.24°)
OKLaboklab(38.15% 0.0165 -0.1983)
OKLCHoklch(38.15% 0.199 274.8)
XYZxyz(8.9167, 4.7063, 37.9669)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A9 #9FA924
analogous
#245DA9 #2E24A9 #7024A9
triadic
#2E24A9 #A92E24 #24A92E
tetradic
#2E24A9 #A9245D #9FA924 #24A970
square
#2E24A9 #A9245D #9FA924 #24A970
split-complementary
#2E24A9 #A97024 #5DA924
monochromatic
#130F44 #201977 #2E24A9 #4236D4 #7168DF

Accessibility & contrast

On white

10.82
#2E24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A9
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A9#FFFFFF#000000##FFFFFF
##2E24A91.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e24a9;
/* rgb */ color: rgb(46, 36, 169);
/* oklch */ color: oklch(38.1% 0.199 274.8);
Tailwind
colors: {
  custom: {
    50: '#7b62c4',
    500: '#2e24a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a9;
$custom-light: #7b62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a9",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 244.511,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38145,
    "c": 0.19897,
    "h": 274.8
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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