#24307D#24307D

#24307D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.130 H 271.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#24307D
RGBrgb(36, 48, 125)
HSLhsl(232, 55%, 32%)
HSVhsv(232, 71%, 49%)
CMYKcmyk(71.2%, 61.6%, 0%, 51%)
CIE-LABlab(23.57, 22.66, -45.23)
CIE-LCHlch(23.57, 50.59, 296.61°)
OKLaboklab(35% 0.0028 -0.1304)
OKLCHoklch(35% 0.13 271.2)
XYZxyz(5.4849, 3.9691, 19.8751)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24307D #7D7124
analogous
#245D7D #24307D #45247D
triadic
#24307D #7D2430 #307D24
tetradic
#24307D #7D245D #7D7124 #247D45
square
#24307D #7D245D #7D7124 #247D45
split-complementary
#24307D #7D4524 #5D7D24
monochromatic
#090C1E #161E4D #24307D #3242AD #4F60CC

Accessibility & contrast

On white

11.71
#24307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#24307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24307D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24307D#FFFFFF#000000##FFFFFF
##24307D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24307d;
/* rgb */ color: rgb(36, 48, 125);
/* oklch */ color: oklch(35.0% 0.130 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b68a3',
    500: '#24307d',
    950: '#000000',
  },
}
SCSS
$custom: #24307d;
$custom-light: #6b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24307d",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 231.91,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34997,
    "c": 0.13042,
    "h": 271.2
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#24307D
secondary
#AFA24D
accent
#CA49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24307D

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

Preview Lab → · Contrast checker → · Palette generator →

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