#241572#241572

#241572 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.147 H 279.5°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#241572
RGBrgb(36, 21, 114)
HSLhsl(250, 69%, 26%)
HSVhsv(250, 82%, 45%)
CMYKcmyk(68.4%, 81.6%, 0%, 55.3%)
CIE-LABlab(16.14, 35.87, -50.39)
CIE-LCHlch(16.14, 61.85, 305.45°)
OKLaboklab(29.3% 0.0244 -0.1455)
OKLCHoklch(29.3% 0.148 279.5)
XYZxyz(4.0320, 2.1260, 16.1142)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241572 #637215
analogous
#153572 #241572 #531572
triadic
#241572 #722415 #157224
tetradic
#241572 #721535 #637215 #157253
square
#241572 #721535 #637215 #157253
split-complementary
#241572 #725315 #357215
monochromatic
#08051A #140B3E #241572 #341FA6 #462AD8

Accessibility & contrast

On white

14.73
#241572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#241572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241572
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241572#FFFFFF#000000##FFFFFF
##2415721.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B75
Deuteranopia (green-blind)
#002470
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241572;
/* rgb */ color: rgb(36, 21, 114);
/* oklch */ color: oklch(29.3% 0.147 279.5);
Tailwind
colors: {
  custom: {
    50: '#6b559c',
    500: '#241572',
    950: '#000000',
  },
}
SCSS
$custom: #241572;
$custom-light: #6b559c;
$custom-dark: #000000;
JSON
{
  "hex": "#241572",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 249.677,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.29296,
    "c": 0.1475,
    "h": 279.5
  },
  "luminance": 0.02126
}

Semantic roles & 50–950 ramp

primary
#241572
secondary
#96A83B
accent
#EC3CCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241572

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

Preview Lab → · Contrast checker → · Palette generator →

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