#24295F#24295F

#24295F is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.095 H 275.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#24295F
RGBrgb(36, 41, 95)
HSLhsl(235, 45%, 26%)
HSVhsv(235, 62%, 37%)
CMYKcmyk(62.1%, 56.8%, 0%, 62.7%)
CIE-LABlab(19.17, 16.10, -33.00)
CIE-LCHlch(19.17, 36.71, 296.00°)
OKLaboklab(30.95% 0.0089 -0.0945)
OKLCHoklch(30.95% 0.095 275.4)
XYZxyz(3.5854, 2.7869, 11.1732)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24295F #5F5A24
analogous
#24465F #24295F #3C245F
triadic
#24295F #5F2429 #295F24
tetradic
#24295F #5F2446 #5F5A24 #245F3C
square
#24295F #5F2446 #5F5A24 #245F3C
split-complementary
#24295F #5F3C24 #465F24
monochromatic
#080A16 #131633 #24295F #353C8B #464FB8

Accessibility & contrast

On white

13.48
#24295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24295F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24295F#FFFFFF#000000##FFFFFF
##24295F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093161
Deuteranopia (green-blind)
#002C5E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24295f;
/* rgb */ color: rgb(36, 41, 95);
/* oklch */ color: oklch(30.9% 0.095 275.4);
Tailwind
colors: {
  custom: {
    50: '#65628d',
    500: '#24295f',
    950: '#000000',
  },
}
SCSS
$custom: #24295f;
$custom-light: #65628d;
$custom-dark: #000000;
JSON
{
  "hex": "#24295f",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 234.915,
    "s": 45.038,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30946,
    "c": 0.09492,
    "h": 275.4
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#24295F
secondary
#938D4C
accent
#CA53D5
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#06050C
muted
#7A797D

Preview Lab

Preview with #24295F

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

Preview Lab → · Contrast checker → · Palette generator →

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