#24225D#24225D

#24225D is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.102 H 279.5°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#24225D
RGBrgb(36, 34, 93)
HSLhsl(242, 46%, 25%)
HSVhsv(242, 63%, 36%)
CMYKcmyk(61.3%, 63.4%, 0%, 63.5%)
CIE-LABlab(17.03, 20.31, -35.13)
CIE-LCHlch(17.03, 40.58, 300.04°)
OKLaboklab(29.3% 0.0169 -0.1008)
OKLCHoklch(29.3% 0.102 279.5)
XYZxyz(3.2747, 2.3092, 10.6270)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24225D #5B5D22
analogous
#223D5D #24225D #42225D
triadic
#24225D #5D2422 #225D24
tetradic
#24225D #5D223D #5B5D22 #225D42
square
#24225D #5D223D #5B5D22 #225D42
split-complementary
#24225D #5D4222 #3D5D22
monochromatic
#090816 #131230 #24225D #35328A #4743B7

Accessibility & contrast

On white

14.37
#24225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#24225D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24225D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24225D#FFFFFF#000000##FFFFFF
##24225D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#04303B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24225d;
/* rgb */ color: rgb(36, 34, 93);
/* oklch */ color: oklch(29.3% 0.102 279.5);
Tailwind
colors: {
  custom: {
    50: '#655d8b',
    500: '#24225d',
    950: '#000000',
  },
}
SCSS
$custom: #24225d;
$custom-light: #655d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#24225d",
  "rgb": {
    "r": 36,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 242.034,
    "s": 46.457,
    "l": 24.902
  },
  "oklch": {
    "l": 0.29304,
    "c": 0.10225,
    "h": 279.5
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#24225D
secondary
#8F914A
accent
#D652D2
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #24225D

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

Preview Lab → · Contrast checker → · Palette generator →

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