#2E24A3#2E24A3

#2E24A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.192 H 275.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#2E24A3
RGBrgb(46, 36, 163)
HSLhsl(245, 64%, 39%)
HSVhsv(245, 78%, 64%)
CMYKcmyk(71.8%, 77.9%, 0%, 36.1%)
CIE-LABlab(25.22, 44.76, -66.03)
CIE-LCHlch(25.22, 79.77, 304.13°)
OKLaboklab(37.49% 0.0179 -0.1909)
OKLCHoklch(37.49% 0.192 275.4)
XYZxyz(8.3663, 4.4861, 35.0682)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A3 #99A324
analogous
#245AA3 #2E24A3 #6E24A3
triadic
#2E24A3 #A32E24 #24A32E
tetradic
#2E24A3 #A3245A #99A324 #24A36E
square
#2E24A3 #A3245A #99A324 #24A36E
split-complementary
#2E24A3 #A36E24 #5AA324
monochromatic
#120E3F #201971 #2E24A3 #3F32D2 #6E65DD

Accessibility & contrast

On white

11.07
#2E24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E24A3
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A3#FFFFFF#000000##FFFFFF
##2E24A31.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e24a3;
/* rgb */ color: rgb(46, 36, 163);
/* oklch */ color: oklch(37.5% 0.192 275.4);
Tailwind
colors: {
  custom: {
    50: '#7962c0',
    500: '#2e24a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a3;
$custom-light: #7962c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a3",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 244.724,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37485,
    "c": 0.19176,
    "h": 275.4
  },
  "luminance": 0.04487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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