#241581#241581

#241581 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.0% C 0.166 H 276.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#241581
RGBrgb(36, 21, 129)
HSLhsl(248, 72%, 29%)
HSVhsv(248, 84%, 51%)
CMYKcmyk(72.1%, 83.7%, 0%, 49.4%)
CIE-LABlab(17.90, 40.69, -57.08)
CIE-LCHlch(17.90, 70.09, 305.48°)
OKLaboklab(31.04% 0.0198 -0.1649)
OKLCHoklch(31.04% 0.166 276.9)
XYZxyz(4.9569, 2.4959, 20.9852)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241581 #728115
analogous
#153C81 #241581 #5A1581
triadic
#241581 #812415 #158124
tetradic
#241581 #81153C #728115 #15815A
square
#241581 #81153C #728115 #15815A
split-complementary
#241581 #815A15 #3C8115
monochromatic
#07041A #150C4C #241581 #331EB6 #4A33DE

Accessibility & contrast

On white

14.01
#241581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#241581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241581
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241581#FFFFFF#000000##FFFFFF
##2415811.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003084
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00374C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241581;
/* rgb */ color: rgb(36, 21, 129);
/* oklch */ color: oklch(31.0% 0.166 276.9);
Tailwind
colors: {
  custom: {
    50: '#6f56a7',
    500: '#241581',
    950: '#000000',
  },
}
SCSS
$custom: #241581;
$custom-light: #6f56a7;
$custom-dark: #000000;
JSON
{
  "hex": "#241581",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 248.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31042,
    "c": 0.16613,
    "h": 276.9
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#241581
secondary
#A5B63C
accent
#EF39D5
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #241581

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

Preview Lab → · Contrast checker → · Palette generator →

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