#24297D#24297D

#24297D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.140 H 273.5°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#24297D
RGBrgb(36, 41, 125)
HSLhsl(237, 55%, 32%)
HSVhsv(237, 71%, 49%)
CMYKcmyk(71.2%, 67.2%, 0%, 51%)
CIE-LABlab(21.73, 27.44, -48.23)
CIE-LCHlch(21.73, 55.49, 299.63°)
OKLaboklab(33.64% 0.0085 -0.1393)
OKLCHoklch(33.64% 0.14 273.5)
XYZxyz(5.2209, 3.4411, 19.7871)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24297D #7D7824
analogous
#24567D #24297D #4C247D
triadic
#24297D #7D2429 #297D24
tetradic
#24297D #7D2456 #7D7824 #247D4C
square
#24297D #7D2456 #7D7824 #247D4C
split-complementary
#24297D #7D4C24 #567D24
monochromatic
#090A1E #16194D #24297D #3239AD #4F56CC

Accessibility & contrast

On white

12.44
#24297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#24297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24297D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24297D#FFFFFF#000000##FFFFFF
##24297D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #24297d;
/* rgb */ color: rgb(36, 41, 125);
/* oklch */ color: oklch(33.6% 0.140 273.5);
Tailwind
colors: {
  custom: {
    50: '#6c63a3',
    500: '#24297d',
    950: '#000000',
  },
}
SCSS
$custom: #24297d;
$custom-light: #6c63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24297d",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 236.629,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33642,
    "c": 0.13952,
    "h": 273.5
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#24297D
secondary
#AFAA4D
accent
#D649DF
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #24297D

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

Preview Lab → · Contrast checker → · Palette generator →

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