#24299F#24299F

#24299F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.185 H 271.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#24299F
RGBrgb(36, 41, 159)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(77.4%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.15, 39.70, -63.73)
CIE-LCHlch(25.15, 75.09, 301.92°)
OKLaboklab(37.14% 0.0042 -0.1845)
OKLCHoklch(37.14% 0.185 271.3)
XYZxyz(7.7764, 4.4633, 33.2458)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24299F #9F9A24
analogous
#24669F #24299F #5C249F
triadic
#24299F #9F2429 #299F24
tetradic
#24299F #9F2466 #9F9A24 #249F5C
square
#24299F #9F2466 #9F9A24 #249F5C
split-complementary
#24299F #9F5C24 #669F24
monochromatic
#0D0F3B #191C6D #24299F #3037D0 #6267DB

Accessibility & contrast

On white

11.09
#24299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24299F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24299F#FFFFFF#000000##FFFFFF
##24299F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00369D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #24299f;
/* rgb */ color: rgb(36, 41, 159);
/* oklch */ color: oklch(37.1% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#7464bd',
    500: '#24299f',
    950: '#000000',
  },
}
SCSS
$custom: #24299f;
$custom-light: #7464bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24299f",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 237.561,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3714,
    "c": 0.18456,
    "h": 271.3
  },
  "luminance": 0.04464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24299F

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

Preview Lab → · Contrast checker → · Palette generator →

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