#24307B#24307B

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

Color values

HEX#24307B
RGBrgb(36, 48, 123)
HSLhsl(232, 55%, 31%)
HSVhsv(232, 71%, 48%)
CMYKcmyk(70.7%, 61%, 0%, 51.8%)
CIE-LABlab(23.40, 21.89, -44.24)
CIE-LCHlch(23.40, 49.36, 296.33°)
OKLaboklab(34.82% 0.0028 -0.1275)
OKLCHoklch(34.82% 0.128 271.2)
XYZxyz(5.3584, 3.9185, 19.2090)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24307B #7B6F24
analogous
#245B7B #24307B #43247B
triadic
#24307B #7B2430 #307B24
tetradic
#24307B #7B245B #7B6F24 #247B43
square
#24307B #7B245B #7B6F24 #247B43
split-complementary
#24307B #7B4324 #5B7B24
monochromatic
#080B1C #161E4C #24307B #3242AA #4E5FCB

Accessibility & contrast

On white

11.77
#24307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24307B
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24307B#FFFFFF#000000##FFFFFF
##24307B1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24307b;
/* rgb */ color: rgb(36, 48, 123);
/* oklch */ color: oklch(34.8% 0.128 271.2);
Tailwind
colors: {
  custom: {
    50: '#6b68a2',
    500: '#24307b',
    950: '#000000',
  },
}
SCSS
$custom: #24307b;
$custom-light: #6b68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24307b",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 231.724,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34818,
    "c": 0.1275,
    "h": 271.2
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

primary
#24307B
secondary
#ADA04D
accent
#CA4ADE
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #24307B

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

Preview Lab → · Contrast checker → · Palette generator →

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