#241C87#241C87

#241C87 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.6% C 0.167 H 275.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#241C87
RGBrgb(36, 28, 135)
HSLhsl(244, 66%, 32%)
HSVhsv(244, 79%, 53%)
CMYKcmyk(73.3%, 79.3%, 0%, 47.1%)
CIE-LABlab(19.86, 39.00, -57.62)
CIE-LCHlch(19.86, 69.58, 304.09°)
OKLaboklab(32.61% 0.015 -0.1666)
OKLCHoklch(32.61% 0.167 275.1)
XYZxyz(5.5145, 2.9543, 23.1966)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C87 #7F871C
analogous
#1C4A87 #241C87 #5A1C87
triadic
#241C87 #87241C #1C8724
tetradic
#241C87 #871C4A #7F871C #1C875A
square
#241C87 #871C4A #7F871C #1C875A
split-complementary
#241C87 #875A1C #4A871C
monochromatic
#090722 #161154 #241C87 #3227BA #5045D8

Accessibility & contrast

On white

13.20
#241C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#241C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241C87
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C87#FFFFFF#000000##FFFFFF
##241C871.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358A
Deuteranopia (green-blind)
#002B85
Tritanopia (blue-blind)
#003C51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #241c87;
/* rgb */ color: rgb(36, 28, 135);
/* oklch */ color: oklch(32.6% 0.167 275.1);
Tailwind
colors: {
  custom: {
    50: '#705bab',
    500: '#241c87',
    950: '#000000',
  },
}
SCSS
$custom: #241c87;
$custom-light: #705bab;
$custom-dark: #000000;
JSON
{
  "hex": "#241c87",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 244.486,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32614,
    "c": 0.1673,
    "h": 275.1
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#241C87
secondary
#B1BA45
accent
#E93FDC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241C87

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

Preview Lab → · Contrast checker → · Palette generator →

#241C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva