#24289F#24289F

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

Color values

HEX#24289F
RGBrgb(36, 40, 159)
HSLhsl(238, 63%, 38%)
HSVhsv(238, 77%, 62%)
CMYKcmyk(77.4%, 74.8%, 0%, 37.6%)
CIE-LABlab(24.94, 40.29, -64.08)
CIE-LCHlch(24.94, 75.70, 302.16°)
OKLaboklab(36.99% 0.0046 -0.1855)
OKLCHoklch(36.99% 0.186 271.4)
XYZxyz(7.7422, 4.3950, 33.2345)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24289F #9F9B24
analogous
#24659F #24289F #5D249F
triadic
#24289F #9F2428 #289F24
tetradic
#24289F #9F2465 #9F9B24 #249F5D
square
#24289F #9F2465 #9F9B24 #249F5D
split-complementary
#24289F #9F5D24 #659F24
monochromatic
#0D0F3B #191B6D #24289F #3035D0 #6266DB

Accessibility & contrast

On white

11.17
#24289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#24289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24289F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24289F#FFFFFF#000000##FFFFFF
##24289F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24289f;
/* rgb */ color: rgb(36, 40, 159);
/* oklch */ color: oklch(37.0% 0.186 271.4);
Tailwind
colors: {
  custom: {
    50: '#7463bd',
    500: '#24289f',
    950: '#000000',
  },
}
SCSS
$custom: #24289f;
$custom-light: #7463bd;
$custom-dark: #000000;
JSON
{
  "hex": "#24289f",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 238.049,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36989,
    "c": 0.18558,
    "h": 271.4
  },
  "luminance": 0.04396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #24289F

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

Preview Lab → · Contrast checker → · Palette generator →

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