#24225A#24225A

#24225A is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.0% C 0.098 H 280.0°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#24225A
RGBrgb(36, 34, 90)
HSLhsl(242, 45%, 24%)
HSVhsv(242, 62%, 35%)
CMYKcmyk(60%, 62.2%, 0%, 64.7%)
CIE-LABlab(16.78, 19.21, -33.54)
CIE-LCHlch(16.78, 38.65, 299.80°)
OKLaboklab(29.04% 0.017 -0.0961)
OKLCHoklch(29.04% 0.098 280)
XYZxyz(3.1445, 2.2571, 9.9408)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24225A #585A22
analogous
#223C5A #24225A #40225A
triadic
#24225A #5A2422 #225A24
tetradic
#24225A #5A223C #585A22 #225A40
square
#24225A #5A223C #585A22 #225A40
split-complementary
#24225A #5A4022 #3C5A22
monochromatic
#090816 #12112E #24225A #363386 #4844B3

Accessibility & contrast

On white

14.47
#24225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#24225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24225A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24225A#FFFFFF#000000##FFFFFF
##24225A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#092F3A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #24225a;
/* rgb */ color: rgb(36, 34, 90);
/* oklch */ color: oklch(29.0% 0.098 280.0);
Tailwind
colors: {
  custom: {
    50: '#655d89',
    500: '#24225a',
    950: '#000000',
  },
}
SCSS
$custom: #24225a;
$custom-light: #655d89;
$custom-dark: #000000;
JSON
{
  "hex": "#24225a",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 242.143,
    "s": 45.161,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2904,
    "c": 0.09764,
    "h": 280
  },
  "luminance": 0.02257
}

Semantic roles & 50–950 ramp

primary
#24225A
secondary
#8C8E4A
accent
#D553D0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040B
muted
#7A797C

Preview Lab

Preview with #24225A

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

Preview Lab → · Contrast checker → · Palette generator →

#24225A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva