#24299B#24299B

#24299B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.179 H 271.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#24299B
RGBrgb(36, 41, 155)
HSLhsl(237, 62%, 37%)
HSVhsv(237, 77%, 61%)
CMYKcmyk(76.8%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.72, 38.30, -61.99)
CIE-LCHlch(24.72, 72.87, 301.71°)
OKLaboklab(36.71% 0.0048 -0.1794)
OKLCHoklch(36.71% 0.18 271.5)
XYZxyz(7.4349, 4.3267, 31.4473)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24299B #9B9624
analogous
#24659B #24299B #5B249B
triadic
#24299B #9B2429 #299B24
tetradic
#24299B #9B2465 #9B9624 #249B5B
square
#24299B #9B2465 #9B9624 #249B5B
split-complementary
#24299B #9B5B24 #659B24
monochromatic
#0D0F38 #181C69 #24299B #3036CD #5F65DA

Accessibility & contrast

On white

11.26
#24299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#24299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24299B
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24299B#FFFFFF#000000##FFFFFF
##24299B1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24299b;
/* rgb */ color: rgb(36, 41, 155);
/* oklch */ color: oklch(36.7% 0.179 271.5);
Tailwind
colors: {
  custom: {
    50: '#7364ba',
    500: '#24299b',
    950: '#000000',
  },
}
SCSS
$custom: #24299b;
$custom-light: #7364ba;
$custom-dark: #000000;
JSON
{
  "hex": "#24299b",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 237.479,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.1795,
    "h": 271.5
  },
  "luminance": 0.04328
}

Semantic roles & 50–950 ramp

primary
#24299B
secondary
#BFBB5C
accent
#DF42E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #24299B

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

Preview Lab → · Contrast checker → · Palette generator →

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