#241571#241571

#241571 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.2% C 0.146 H 279.7°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#241571
RGBrgb(36, 21, 113)
HSLhsl(250, 69%, 26%)
HSVhsv(250, 81%, 44%)
CMYKcmyk(68.1%, 81.4%, 0%, 55.7%)
CIE-LABlab(16.02, 35.54, -49.93)
CIE-LCHlch(16.02, 61.29, 305.45°)
OKLaboklab(29.18% 0.0246 -0.1441)
OKLCHoklch(29.18% 0.146 279.7)
XYZxyz(3.9754, 2.1033, 15.8161)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241571 #627115
analogous
#153471 #241571 #521571
triadic
#241571 #712415 #157124
tetradic
#241571 #711534 #627115 #157152
square
#241571 #711534 #627115 #157152
split-complementary
#241571 #715215 #347115
monochromatic
#08051A #140B3D #241571 #341FA5 #4629D7

Accessibility & contrast

On white

14.78
#241571 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#241571 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241571
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241571#FFFFFF#000000##FFFFFF
##2415711.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00246F
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #241571;
/* rgb */ color: rgb(36, 21, 113);
/* oklch */ color: oklch(29.2% 0.146 279.7);
Tailwind
colors: {
  custom: {
    50: '#6b559b',
    500: '#241571',
    950: '#000000',
  },
}
SCSS
$custom: #241571;
$custom-light: #6b559b;
$custom-dark: #000000;
JSON
{
  "hex": "#241571",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 113
  },
  "hsl": {
    "h": 249.783,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29183,
    "c": 0.14623,
    "h": 279.7
  },
  "luminance": 0.02104
}

Semantic roles & 50–950 ramp

primary
#241571
secondary
#95A73B
accent
#EB3CCF
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241571

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

Preview Lab → · Contrast checker → · Palette generator →

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