#2A24A2#2A24A2

#2A24A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.1% C 0.192 H 273.9°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2A24A2
RGBrgb(42, 36, 162)
HSLhsl(243, 64%, 39%)
HSVhsv(243, 78%, 64%)
CMYKcmyk(74.1%, 77.8%, 0%, 36.5%)
CIE-LABlab(24.83, 44.07, -66.06)
CIE-LCHlch(24.83, 79.42, 303.71°)
OKLaboklab(37.11% 0.013 -0.1911)
OKLCHoklch(37.11% 0.192 273.9)
XYZxyz(8.1051, 4.3618, 34.5902)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24A2 #9CA224
analogous
#245DA2 #2A24A2 #6924A2
triadic
#2A24A2 #A22A24 #24A22A
tetradic
#2A24A2 #A2245D #9CA224 #24A269
square
#2A24A2 #A2245D #9CA224 #24A269
split-complementary
#2A24A2 #A26924 #5DA224
monochromatic
#100E3E #1D1970 #2A24A2 #3932D1 #6A64DD

Accessibility & contrast

On white

11.21
#2A24A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2A24A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24A2
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24A2#FFFFFF#000000##FFFFFF
##2A24A21.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a24a2;
/* rgb */ color: rgb(42, 36, 162);
/* oklch */ color: oklch(37.1% 0.192 273.9);
Tailwind
colors: {
  custom: {
    50: '#7861bf',
    500: '#2a24a2',
    950: '#000000',
  },
}
SCSS
$custom: #2a24a2;
$custom-light: #7861bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24a2",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 242.857,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37111,
    "c": 0.19156,
    "h": 273.9
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

primary
#2A24A2
secondary
#BDC260
accent
#E741DF
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A24A2

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

Preview Lab → · Contrast checker → · Palette generator →

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