#24307A#24307A

#24307A is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.7% C 0.126 H 271.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#24307A
RGBrgb(36, 48, 122)
HSLhsl(232, 54%, 31%)
HSVhsv(232, 70%, 48%)
CMYKcmyk(70.5%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.32, 21.51, -43.74)
CIE-LCHlch(23.32, 48.74, 296.18°)
OKLaboklab(34.73% 0.0028 -0.126)
OKLCHoklch(34.73% 0.126 271.3)
XYZxyz(5.2962, 3.8936, 18.8810)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24307A #7A6E24
analogous
#245B7A #24307A #43247A
triadic
#24307A #7A2430 #307A24
tetradic
#24307A #7A245B #7A6E24 #247A43
square
#24307A #7A245B #7A6E24 #247A43
split-complementary
#24307A #7A4324 #5B7A24
monochromatic
#080B1B #161D4B #24307A #3243A9 #4E5FCB

Accessibility & contrast

On white

11.81
#24307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#24307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24307A
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24307A#FFFFFF#000000##FFFFFF
##24307A1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24307a;
/* rgb */ color: rgb(36, 48, 122);
/* oklch */ color: oklch(34.7% 0.126 271.3);
Tailwind
colors: {
  custom: {
    50: '#6a68a1',
    500: '#24307a',
    950: '#000000',
  },
}
SCSS
$custom: #24307a;
$custom-light: #6a68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#24307a",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 231.628,
    "s": 54.43,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3473,
    "c": 0.12604,
    "h": 271.3
  },
  "luminance": 0.03894
}

Semantic roles & 50–950 ramp

primary
#24307A
secondary
#AC9F4D
accent
#C94ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24307A

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

Preview Lab → · Contrast checker → · Palette generator →

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