#24299E#24299E

#24299E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.183 H 271.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#24299E
RGBrgb(36, 41, 158)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(77.2%, 74.1%, 0%, 38%)
CIE-LABlab(25.04, 39.35, -63.30)
CIE-LCHlch(25.04, 74.53, 301.87°)
OKLaboklab(37.03% 0.0043 -0.1832)
OKLCHoklch(37.03% 0.183 271.4)
XYZxyz(7.6900, 4.4287, 32.7907)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24299E #9E9924
analogous
#24669E #24299E #5C249E
triadic
#24299E #9E2429 #299E24
tetradic
#24299E #9E2466 #9E9924 #249E5C
square
#24299E #9E2466 #9E9924 #249E5C
split-complementary
#24299E #9E5C24 #669E24
monochromatic
#0D0F3A #191C6C #24299E #2F36D0 #6166DB

Accessibility & contrast

On white

11.13
#24299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#24299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24299E
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24299E#FFFFFF#000000##FFFFFF
##24299E1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24299e;
/* rgb */ color: rgb(36, 41, 158);
/* oklch */ color: oklch(37.0% 0.183 271.4);
Tailwind
colors: {
  custom: {
    50: '#7464bc',
    500: '#24299e',
    950: '#000000',
  },
}
SCSS
$custom: #24299e;
$custom-light: #7464bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24299e",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 237.541,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37032,
    "c": 0.1833,
    "h": 271.4
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#24299E
secondary
#C0BC5E
accent
#DF42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #24299E

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

Preview Lab → · Contrast checker → · Palette generator →

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