#24188F#24188F

#24188F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.181 H 274.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#24188F
RGBrgb(36, 24, 143)
HSLhsl(246, 71%, 33%)
HSVhsv(246, 83%, 56%)
CMYKcmyk(74.8%, 83.2%, 0%, 43.9%)
CIE-LABlab(20.09, 43.65, -62.25)
CIE-LCHlch(20.09, 76.03, 305.04°)
OKLaboklab(33.05% 0.0145 -0.18)
OKLCHoklch(33.05% 0.181 274.6)
XYZxyz(6.0105, 3.0109, 26.2457)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24188F #838F18
analogous
#18488F #24188F #5F188F
triadic
#24188F #8F2418 #188F24
tetradic
#24188F #8F1848 #838F18 #188F5F
square
#24188F #8F1848 #838F18 #188F5F
split-complementary
#24188F #8F5F18 #488F18
monochromatic
#0A0626 #170F5B #24188F #3121C3 #5242DF

Accessibility & contrast

On white

13.11
#24188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#24188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24188F
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24188F#FFFFFF#000000##FFFFFF
##24188F1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #24188f;
/* rgb */ color: rgb(36, 24, 143);
/* oklch */ color: oklch(33.0% 0.181 274.6);
Tailwind
colors: {
  custom: {
    50: '#7259b1',
    500: '#24188f',
    950: '#000000',
  },
}
SCSS
$custom: #24188f;
$custom-light: #7259b1;
$custom-dark: #000000;
JSON
{
  "hex": "#24188f",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 246.05,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.18059,
    "h": 274.6
  },
  "luminance": 0.03012
}

Semantic roles & 50–950 ramp

primary
#24188F
secondary
#B3C043
accent
#EE3ADC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #24188F

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

Preview Lab → · Contrast checker → · Palette generator →

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