#24189E#24189E

#24189E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.9% C 0.198 H 273.0°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#24189E
RGBrgb(36, 24, 158)
HSLhsl(245, 74%, 36%)
HSVhsv(245, 85%, 62%)
CMYKcmyk(77.2%, 84.8%, 0%, 38%)
CIE-LABlab(21.93, 48.30, -68.45)
CIE-LCHlch(21.93, 83.77, 305.21°)
OKLaboklab(34.85% 0.0104 -0.198)
OKLCHoklch(34.85% 0.198 273)
XYZxyz(7.2237, 3.4962, 32.6352)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24189E #929E18
analogous
#184F9E #24189E #67189E
triadic
#24189E #9E2418 #189E24
tetradic
#24189E #9E184F #929E18 #189E67
square
#24189E #9E184F #929E18 #189E67
split-complementary
#24189E #9E6718 #4F9E18
monochromatic
#0C0834 #181069 #24189E #3020D3 #5A4DE4

Accessibility & contrast

On white

12.36
#24189E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#24189E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24189E
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24189E#FFFFFF#000000##FFFFFF
##24189E1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002E9C
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #24189e;
/* rgb */ color: rgb(36, 24, 158);
/* oklch */ color: oklch(34.9% 0.198 273.0);
Tailwind
colors: {
  custom: {
    50: '#765abc',
    500: '#24189e',
    950: '#000000',
  },
}
SCSS
$custom: #24189e;
$custom-light: #765abc;
$custom-dark: #000000;
JSON
{
  "hex": "#24189e",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 158
  },
  "hsl": {
    "h": 245.373,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34851,
    "c": 0.19824,
    "h": 273
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#24189E
secondary
#BBC64C
accent
#F038E0
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #24189E

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

Preview Lab → · Contrast checker → · Palette generator →

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