#24147B#24147B

#24147B is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.160 H 278.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#24147B
RGBrgb(36, 20, 123)
HSLhsl(249, 72%, 28%)
HSVhsv(249, 84%, 48%)
CMYKcmyk(70.7%, 83.7%, 0%, 51.8%)
CIE-LABlab(17.01, 39.28, -54.73)
CIE-LCHlch(17.01, 67.36, 305.67°)
OKLaboklab(30.22% 0.0221 -0.1581)
OKLCHoklch(30.22% 0.16 278)
XYZxyz(4.5517, 2.3050, 18.9401)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24147B #6B7B14
analogous
#14387B #24147B #57147B
triadic
#24147B #7B2414 #147B24
tetradic
#24147B #7B1438 #6B7B14 #147B57
square
#24147B #7B1438 #6B7B14 #147B57
split-complementary
#24147B #7B5714 #387B14
monochromatic
#08041A #150B46 #24147B #331DB0 #482DDD

Accessibility & contrast

On white

14.37
#24147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#24147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24147B
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24147B#FFFFFF#000000##FFFFFF
##24147B1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #24147b;
/* rgb */ color: rgb(36, 20, 123);
/* oklch */ color: oklch(30.2% 0.160 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d55a2',
    500: '#24147b',
    950: '#000000',
  },
}
SCSS
$custom: #24147b;
$custom-light: #6d55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#24147b",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 249.32,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30218,
    "c": 0.15963,
    "h": 278
  },
  "luminance": 0.02305
}

Semantic roles & 50–950 ramp

primary
#24147B
secondary
#9EB13A
accent
#EF39D3
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #24147B

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

Preview Lab → · Contrast checker → · Palette generator →

#24147B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva