#24295D#24295D

#24295D is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.092 H 275.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#24295D
RGBrgb(36, 41, 93)
HSLhsl(235, 44%, 25%)
HSVhsv(235, 61%, 36%)
CMYKcmyk(61.3%, 55.9%, 0%, 63.5%)
CIE-LABlab(19.02, 15.34, -31.92)
CIE-LCHlch(19.02, 35.41, 295.67°)
OKLaboklab(30.78% 0.0088 -0.0913)
OKLCHoklch(30.78% 0.092 275.5)
XYZxyz(3.4956, 2.7510, 10.7006)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24295D #5D5824
analogous
#24455D #24295D #3B245D
triadic
#24295D #5D2429 #295D24
tetradic
#24295D #5D2445 #5D5824 #245D3B
square
#24295D #5D2445 #5D5824 #245D3B
split-complementary
#24295D #5D3B24 #455D24
monochromatic
#090A16 #131631 #24295D #353C89 #4650B5

Accessibility & contrast

On white

13.55
#24295D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#24295D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24295D
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24295D#FFFFFF#000000##FFFFFF
##24295D1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C315F
Deuteranopia (green-blind)
#022C5C
Tritanopia (blue-blind)
#03353E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #24295d;
/* rgb */ color: rgb(36, 41, 93);
/* oklch */ color: oklch(30.8% 0.092 275.5);
Tailwind
colors: {
  custom: {
    50: '#65628b',
    500: '#24295d',
    950: '#000000',
  },
}
SCSS
$custom: #24295d;
$custom-light: #65628b;
$custom-dark: #000000;
JSON
{
  "hex": "#24295d",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 93
  },
  "hsl": {
    "h": 234.737,
    "s": 44.186,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30784,
    "c": 0.09175,
    "h": 275.5
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#24295D
secondary
#918B4C
accent
#C954D4
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #24295D

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

Preview Lab → · Contrast checker → · Palette generator →

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