#24279E#24279E

#24279E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.185 H 271.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#24279E
RGBrgb(36, 39, 158)
HSLhsl(239, 63%, 38%)
HSVhsv(239, 77%, 62%)
CMYKcmyk(77.2%, 75.3%, 0%, 38%)
CIE-LABlab(24.62, 40.53, -63.99)
CIE-LCHlch(24.62, 75.75, 302.35°)
OKLaboklab(36.73% 0.0052 -0.1853)
OKLCHoklch(36.73% 0.185 271.6)
XYZxyz(7.6225, 4.2939, 32.7682)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24279E #9E9B24
analogous
#24649E #24279E #5E249E
triadic
#24279E #9E2427 #279E24
tetradic
#24279E #9E2464 #9E9B24 #249E5E
square
#24279E #9E2464 #9E9B24 #249E5E
split-complementary
#24279E #9E5E24 #649E24
monochromatic
#0D0E3A #191B6C #24279E #2F33D0 #6164DB

Accessibility & contrast

On white

11.30
#24279E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24279E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24279E
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24279E#FFFFFF#000000##FFFFFF
##24279E1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #24279e;
/* rgb */ color: rgb(36, 39, 158);
/* oklch */ color: oklch(36.7% 0.185 271.6);
Tailwind
colors: {
  custom: {
    50: '#7463bc',
    500: '#24279e',
    950: '#000000',
  },
}
SCSS
$custom: #24279e;
$custom-light: #7463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#24279e",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 158
  },
  "hsl": {
    "h": 238.525,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.18533,
    "h": 271.6
  },
  "luminance": 0.04295
}

Semantic roles & 50–950 ramp

primary
#24279E
secondary
#C0BE5E
accent
#E242E6
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #24279E

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

Preview Lab → · Contrast checker → · Palette generator →

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