#24307F#24307F

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

Color values

HEX#24307F
RGBrgb(36, 48, 127)
HSLhsl(232, 56%, 32%)
HSVhsv(232, 72%, 50%)
CMYKcmyk(71.7%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.74, 23.43, -46.21)
CIE-LCHlch(23.74, 51.81, 296.88°)
OKLaboklab(35.18% 0.0028 -0.1333)
OKLCHoklch(35.18% 0.133 271.2)
XYZxyz(5.6140, 4.0207, 20.5548)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24307F #7F7324
analogous
#245E7F #24307F #46247F
triadic
#24307F #7F2430 #307F24
tetradic
#24307F #7F245E #7F7324 #247F46
square
#24307F #7F245E #7F7324 #247F46
split-complementary
#24307F #7F4624 #5E7F24
monochromatic
#090C20 #161E4F #24307F #3242AF #5061CD

Accessibility & contrast

On white

11.64
#24307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24307F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24307F#FFFFFF#000000##FFFFFF
##24307F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #24307f;
/* rgb */ color: rgb(36, 48, 127);
/* oklch */ color: oklch(35.2% 0.133 271.2);
Tailwind
colors: {
  custom: {
    50: '#6c68a5',
    500: '#24307f',
    950: '#000000',
  },
}
SCSS
$custom: #24307f;
$custom-light: #6c68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#24307f",
  "rgb": {
    "r": 36,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 232.088,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35177,
    "c": 0.13331,
    "h": 271.2
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24307F

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

Preview Lab → · Contrast checker → · Palette generator →

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