#2A24A0#2A24A0

#2A24A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.189 H 274.1°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2A24A0
RGBrgb(42, 36, 160)
HSLhsl(243, 63%, 38%)
HSVhsv(243, 78%, 63%)
CMYKcmyk(73.8%, 77.5%, 0%, 37.3%)
CIE-LABlab(24.61, 43.42, -65.21)
CIE-LCHlch(24.61, 78.35, 303.66°)
OKLaboklab(36.89% 0.0134 -0.1887)
OKLCHoklch(36.89% 0.189 274.1)
XYZxyz(7.9288, 4.2913, 33.6613)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A24A0 #9AA024
analogous
#245CA0 #2A24A0 #6824A0
triadic
#2A24A0 #A02A24 #24A02A
tetradic
#2A24A0 #A0245C #9AA024 #24A068
square
#2A24A0 #A0245C #9AA024 #24A068
split-complementary
#2A24A0 #A06824 #5CA024
monochromatic
#100E3C #1D196E #2A24A0 #3831D1 #6863DC

Accessibility & contrast

On white

11.30
#2A24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2A24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A24A0
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A24A0#FFFFFF#000000##FFFFFF
##2A24A01.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2a24a0;
/* rgb */ color: rgb(42, 36, 160);
/* oklch */ color: oklch(36.9% 0.189 274.1);
Tailwind
colors: {
  custom: {
    50: '#7761bd',
    500: '#2a24a0',
    950: '#000000',
  },
}
SCSS
$custom: #2a24a0;
$custom-light: #7761bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2a24a0",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 242.903,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.3689,
    "c": 0.18912,
    "h": 274.1
  },
  "luminance": 0.04292
}

Semantic roles & 50–950 ramp

primary
#2A24A0
secondary
#BCC15F
accent
#E641DE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2A24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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