#2E24AA#2E24AA

#2E24AA is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.200 H 274.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2E24AA
RGBrgb(46, 36, 170)
HSLhsl(244, 65%, 40%)
HSVhsv(244, 79%, 67%)
CMYKcmyk(72.9%, 78.8%, 0%, 33.3%)
CIE-LABlab(25.99, 46.99, -68.98)
CIE-LCHlch(25.99, 83.46, 304.26°)
OKLaboklab(38.26% 0.0163 -0.1995)
OKLCHoklch(38.26% 0.2 274.7)
XYZxyz(9.0109, 4.7440, 38.4632)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24AA #A0AA24
analogous
#245DAA #2E24AA #7124AA
triadic
#2E24AA #AA2E24 #24AA2E
tetradic
#2E24AA #AA245D #A0AA24 #24AA71
square
#2E24AA #AA245D #A0AA24 #24AA71
split-complementary
#2E24AA #AA7124 #5DAA24
monochromatic
#130F45 #201977 #2E24AA #4237D5 #7269DF

Accessibility & contrast

On white

10.77
#2E24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24AA
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24AA#FFFFFF#000000##FFFFFF
##2E24AA1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e24aa;
/* rgb */ color: rgb(46, 36, 170);
/* oklch */ color: oklch(38.3% 0.200 274.7);
Tailwind
colors: {
  custom: {
    50: '#7b62c5',
    500: '#2e24aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e24aa;
$custom-light: #7b62c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24aa",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 244.478,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38256,
    "c": 0.20016,
    "h": 274.7
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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