#241578#241578

#241578 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 278.4°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#241578
RGBrgb(36, 21, 120)
HSLhsl(249, 70%, 28%)
HSVhsv(249, 83%, 47%)
CMYKcmyk(70%, 82.5%, 0%, 52.9%)
CIE-LABlab(16.83, 37.81, -53.10)
CIE-LCHlch(16.83, 65.19, 305.45°)
OKLaboklab(29.99% 0.0226 -0.1534)
OKLCHoklch(29.99% 0.155 278.4)
XYZxyz(4.3848, 2.2671, 17.9722)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241578 #697815
analogous
#153778 #241578 #561578
triadic
#241578 #782415 #157824
tetradic
#241578 #781537 #697815 #157856
square
#241578 #781537 #697815 #157856
split-complementary
#241578 #785615 #377815
monochromatic
#08051A #140C44 #241578 #341EAC #472DDA

Accessibility & contrast

On white

14.45
#241578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#241578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241578
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241578#FFFFFF#000000##FFFFFF
##2415781.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7B
Deuteranopia (green-blind)
#002576
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241578;
/* rgb */ color: rgb(36, 21, 120);
/* oklch */ color: oklch(30.0% 0.155 278.4);
Tailwind
colors: {
  custom: {
    50: '#6d56a0',
    500: '#241578',
    950: '#000000',
  },
}
SCSS
$custom: #241578;
$custom-light: #6d56a0;
$custom-dark: #000000;
JSON
{
  "hex": "#241578",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 249.091,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29987,
    "c": 0.15505,
    "h": 278.4
  },
  "luminance": 0.02267
}

Semantic roles & 50–950 ramp

primary
#241578
secondary
#9CAE3B
accent
#ED3BD2
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241578

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

Preview Lab → · Contrast checker → · Palette generator →

#241578 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva