#2E24A8#2E24A8

#2E24A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.198 H 274.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#2E24A8
RGBrgb(46, 36, 168)
HSLhsl(245, 65%, 40%)
HSVhsv(245, 79%, 66%)
CMYKcmyk(72.6%, 78.6%, 0%, 34.1%)
CIE-LABlab(25.77, 46.35, -68.14)
CIE-LCHlch(25.77, 82.41, 304.22°)
OKLaboklab(38.04% 0.0167 -0.1971)
OKLCHoklch(38.04% 0.198 274.9)
XYZxyz(8.8231, 4.6689, 37.4744)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E24A8 #9EA824
analogous
#245CA8 #2E24A8 #7024A8
triadic
#2E24A8 #A82E24 #24A82E
tetradic
#2E24A8 #A8245C #9EA824 #24A870
square
#2E24A8 #A8245C #9EA824 #24A870
split-complementary
#2E24A8 #A87024 #5CA824
monochromatic
#120E43 #201976 #2E24A8 #4135D4 #7168DF

Accessibility & contrast

On white

10.86
#2E24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E24A8
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E24A8#FFFFFF#000000##FFFFFF
##2E24A81.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e24a8;
/* rgb */ color: rgb(46, 36, 168);
/* oklch */ color: oklch(38.0% 0.198 274.9);
Tailwind
colors: {
  custom: {
    50: '#7b62c3',
    500: '#2e24a8',
    950: '#000000',
  },
}
SCSS
$custom: #2e24a8;
$custom-light: #7b62c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e24a8",
  "rgb": {
    "r": 46,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 244.545,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.38035,
    "c": 0.19777,
    "h": 274.9
  },
  "luminance": 0.0467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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