#24307C#24307C

#24307C is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.129 H 271.2°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#24307C
RGBrgb(36, 48, 124)
HSLhsl(232, 55%, 31%)
HSVhsv(232, 71%, 49%)
CMYKcmyk(71%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.48, 22.28, -44.74)
CIE-LCHlch(23.48, 49.98, 296.47°)
OKLaboklab(34.91% 0.0028 -0.1289)
OKLCHoklch(34.91% 0.129 271.2)
XYZxyz(5.4214, 3.9437, 19.5404)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24307C #7C7024
analogous
#245C7C #24307C #44247C
triadic
#24307C #7C2430 #307C24
tetradic
#24307C #7C245C #7C7024 #247C44
square
#24307C #7C245C #7C7024 #247C44
split-complementary
#24307C #7C4424 #5C7C24
monochromatic
#080B1D #161E4D #24307C #3242AB #4F60CC

Accessibility & contrast

On white

11.74
#24307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24307C
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24307C#FFFFFF#000000##FFFFFF
##24307C1.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24307c;
/* rgb */ color: rgb(36, 48, 124);
/* oklch */ color: oklch(34.9% 0.129 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b68a3',
    500: '#24307c',
    950: '#000000',
  },
}
SCSS
$custom: #24307c;
$custom-light: #6b68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#24307c",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 231.818,
    "s": 55,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34907,
    "c": 0.12896,
    "h": 271.2
  },
  "luminance": 0.03944
}

Semantic roles & 50–950 ramp

primary
#24307C
secondary
#AEA14D
accent
#CA49DE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24307C

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

Preview Lab → · Contrast checker → · Palette generator →

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