#2E24A2#2E24A2

#2E24A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.191 H 275.5°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2E24A2
RGBrgb(46, 36, 162)
HSLhsl(245, 64%, 39%)
HSVhsv(245, 78%, 64%)
CMYKcmyk(71.6%, 77.8%, 0%, 36.5%)
CIE-LABlab(25.11, 44.43, -65.60)
CIE-LCHlch(25.11, 79.23, 304.11°)
OKLaboklab(37.38% 0.0182 -0.1897)
OKLCHoklch(37.38% 0.191 275.5)
XYZxyz(8.2770, 4.4504, 34.5982)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A2 #98A224
analogous
#2459A2 #2E24A2 #6D24A2
triadic
#2E24A2 #A22E24 #24A22E
tetradic
#2E24A2 #A22459 #98A224 #24A26D
square
#2E24A2 #A22459 #98A224 #24A26D
split-complementary
#2E24A2 #A26D24 #59A224
monochromatic
#120E3E #201970 #2E24A2 #3E32D1 #6D64DD

Accessibility & contrast

On white

11.11
#2E24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A2
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A2#FFFFFF#000000##FFFFFF
##2E24A21.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e24a2;
/* rgb */ color: rgb(46, 36, 162);
/* oklch */ color: oklch(37.4% 0.191 275.5);
Tailwind
colors: {
  custom: {
    50: '#7961bf',
    500: '#2e24a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a2;
$custom-light: #7961bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a2",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 244.762,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37376,
    "c": 0.19055,
    "h": 275.5
  },
  "luminance": 0.04451
}

Semantic roles & 50–950 ramp

primary
#2E24A2
secondary
#BAC260
accent
#E741DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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