#241579#241579

#241579 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.156 H 278.2°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#241579
RGBrgb(36, 21, 121)
HSLhsl(249, 70%, 28%)
HSVhsv(249, 83%, 47%)
CMYKcmyk(70.2%, 82.6%, 0%, 52.5%)
CIE-LABlab(16.95, 38.13, -53.55)
CIE-LCHlch(16.95, 65.74, 305.45°)
OKLaboklab(30.1% 0.0223 -0.1547)
OKLCHoklch(30.1% 0.156 278.2)
XYZxyz(4.4458, 2.2915, 18.2935)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241579 #6A7915
analogous
#153879 #241579 #561579
triadic
#241579 #792415 #157924
tetradic
#241579 #791538 #6A7915 #157956
square
#241579 #791538 #6A7915 #157956
split-complementary
#241579 #795615 #387915
monochromatic
#08051A #140C45 #241579 #341EAD #482EDB

Accessibility & contrast

On white

14.40
#241579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#241579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241579
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241579#FFFFFF#000000##FFFFFF
##2415791.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241579;
/* rgb */ color: rgb(36, 21, 121);
/* oklch */ color: oklch(30.1% 0.156 278.2);
Tailwind
colors: {
  custom: {
    50: '#6d56a1',
    500: '#241579',
    950: '#000000',
  },
}
SCSS
$custom: #241579;
$custom-light: #6d56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241579",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 249,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30103,
    "c": 0.15629,
    "h": 278.2
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241579

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

Preview Lab → · Contrast checker → · Palette generator →

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