#24307E#24307E

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

Color values

HEX#24307E
RGBrgb(36, 48, 126)
HSLhsl(232, 56%, 32%)
HSVhsv(232, 71%, 49%)
CMYKcmyk(71.4%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.65, 23.05, -45.72)
CIE-LCHlch(23.65, 51.20, 296.75°)
OKLaboklab(35.09% 0.0028 -0.1318)
OKLCHoklch(35.09% 0.132 271.2)
XYZxyz(5.5491, 3.9948, 20.2132)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24307E #7E7224
analogous
#245D7E #24307E #45247E
triadic
#24307E #7E2430 #307E24
tetradic
#24307E #7E245D #7E7224 #247E45
square
#24307E #7E245D #7E7224 #247E45
split-complementary
#24307E #7E4524 #5D7E24
monochromatic
#090C1F #161E4E #24307E #3242AE #5060CD

Accessibility & contrast

On white

11.67
#24307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#24307E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24307E
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24307E#FFFFFF#000000##FFFFFF
##24307E1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24307e;
/* rgb */ color: rgb(36, 48, 126);
/* oklch */ color: oklch(35.1% 0.132 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b68a4',
    500: '#24307e',
    950: '#000000',
  },
}
SCSS
$custom: #24307e;
$custom-light: #6b68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#24307e",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 232,
    "s": 55.556,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35086,
    "c": 0.13186,
    "h": 271.2
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#24307E
secondary
#B0A34E
accent
#CB49DF
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #24307E

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

Preview Lab → · Contrast checker → · Palette generator →

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