#2A24A4#2A24A4

#2A24A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.194 H 273.7°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2A24A4
RGBrgb(42, 36, 164)
HSLhsl(243, 64%, 39%)
HSVhsv(243, 78%, 64%)
CMYKcmyk(74.4%, 78%, 0%, 35.7%)
CIE-LABlab(25.06, 44.72, -66.91)
CIE-LCHlch(25.06, 80.48, 303.76°)
OKLaboklab(37.33% 0.0125 -0.1936)
OKLCHoklch(37.33% 0.194 273.7)
XYZxyz(8.2843, 4.4335, 35.5339)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24A4 #9EA424
analogous
#245EA4 #2A24A4 #6A24A4
triadic
#2A24A4 #A42A24 #24A42A
tetradic
#2A24A4 #A4245E #9EA424 #24A46A
square
#2A24A4 #A4245E #9EA424 #24A46A
split-complementary
#2A24A4 #A46A24 #5EA424
monochromatic
#100E40 #1D1972 #2A24A4 #3A33D2 #6B65DD

Accessibility & contrast

On white

11.13
#2A24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A24A4
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24A4#FFFFFF#000000##FFFFFF
##2A24A41.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2a24a4;
/* rgb */ color: rgb(42, 36, 164);
/* oklch */ color: oklch(37.3% 0.194 273.7);
Tailwind
colors: {
  custom: {
    50: '#7861c0',
    500: '#2a24a4',
    950: '#000000',
  },
}
SCSS
$custom: #2a24a4;
$custom-light: #7861c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24a4",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 242.813,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37332,
    "c": 0.19398,
    "h": 273.7
  },
  "luminance": 0.04434
}

Semantic roles & 50–950 ramp

primary
#2A24A4
secondary
#BEC361
accent
#E741DF
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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