#24279F#24279F

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

Color values

HEX#24279F
RGBrgb(36, 39, 159)
HSLhsl(239, 63%, 38%)
HSVhsv(239, 77%, 62%)
CMYKcmyk(77.4%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.73, 40.88, -64.42)
CIE-LCHlch(24.73, 76.30, 302.40°)
OKLaboklab(36.84% 0.005 -0.1865)
OKLCHoklch(36.84% 0.187 271.5)
XYZxyz(7.7090, 4.3285, 33.2234)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24279F #9F9C24
analogous
#24649F #24279F #5F249F
triadic
#24279F #9F2427 #279F24
tetradic
#24279F #9F2464 #9F9C24 #249F5F
square
#24279F #9F2464 #9F9C24 #249F5F
split-complementary
#24279F #9F5F24 #649F24
monochromatic
#0D0F3B #191B6D #24279F #3034D0 #6265DB

Accessibility & contrast

On white

11.26
#24279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#24279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24279F
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24279F#FFFFFF#000000##FFFFFF
##24279F1.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)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24279f;
/* rgb */ color: rgb(36, 39, 159);
/* oklch */ color: oklch(36.8% 0.187 271.5);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#24279f',
    950: '#000000',
  },
}
SCSS
$custom: #24279f;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24279f",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 238.537,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.18658,
    "h": 271.5
  },
  "luminance": 0.04329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24279F

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

Preview Lab → · Contrast checker → · Palette generator →

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