#2A24A9#2A24A9

#2A24A9 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.200 H 273.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2A24A9
RGBrgb(42, 36, 169)
HSLhsl(243, 65%, 40%)
HSVhsv(243, 79%, 66%)
CMYKcmyk(75.1%, 78.7%, 0%, 33.7%)
CIE-LABlab(25.62, 46.34, -69.01)
CIE-LCHlch(25.62, 83.12, 303.88°)
OKLaboklab(37.89% 0.0114 -0.1997)
OKLCHoklch(37.89% 0.2 273.3)
XYZxyz(8.7448, 4.6177, 37.9589)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24A9 #A3A924
analogous
#2460A9 #2A24A9 #6D24A9
triadic
#2A24A9 #A92A24 #24A92A
tetradic
#2A24A9 #A92460 #A3A924 #24A96D
square
#2A24A9 #A92460 #A3A924 #24A96D
split-complementary
#2A24A9 #A96D24 #60A924
monochromatic
#110F44 #1D1977 #2A24A9 #3D36D4 #6E68DF

Accessibility & contrast

On white

10.92
#2A24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2A24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24A9
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24A9#FFFFFF#000000##FFFFFF
##2A24A91.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0036A7
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2a24a9;
/* rgb */ color: rgb(42, 36, 169);
/* oklch */ color: oklch(37.9% 0.200 273.3);
Tailwind
colors: {
  custom: {
    50: '#7962c4',
    500: '#2a24a9',
    950: '#000000',
  },
}
SCSS
$custom: #2a24a9;
$custom-light: #7962c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24a9",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 242.707,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3789,
    "c": 0.19999,
    "h": 273.3
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#2A24A9
secondary
#C0C564
accent
#E840E0
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2A24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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