#241B87#241B87

#241B87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.5% C 0.168 H 275.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#241B87
RGBrgb(36, 27, 135)
HSLhsl(245, 67%, 32%)
HSVhsv(245, 80%, 53%)
CMYKcmyk(73.3%, 80%, 0%, 47.1%)
CIE-LABlab(19.67, 39.54, -57.94)
CIE-LCHlch(19.67, 70.14, 304.31°)
OKLaboklab(32.48% 0.0154 -0.1675)
OKLCHoklch(32.48% 0.168 275.3)
XYZxyz(5.4912, 2.9077, 23.1888)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B87 #7E871B
analogous
#1B4887 #241B87 #5A1B87
triadic
#241B87 #87241B #1B8724
tetradic
#241B87 #871B48 #7E871B #1B875A
square
#241B87 #871B48 #7E871B #1B875A
split-complementary
#241B87 #875A1B #48871B
monochromatic
#090721 #161154 #241B87 #3225BA #5043D9

Accessibility & contrast

On white

13.28
#241B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#241B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B87
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B87#FFFFFF#000000##FFFFFF
##241B871.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241b87;
/* rgb */ color: rgb(36, 27, 135);
/* oklch */ color: oklch(32.5% 0.168 275.3);
Tailwind
colors: {
  custom: {
    50: '#705aab',
    500: '#241b87',
    950: '#000000',
  },
}
SCSS
$custom: #241b87;
$custom-light: #705aab;
$custom-dark: #000000;
JSON
{
  "hex": "#241b87",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 245,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.16824,
    "h": 275.3
  },
  "luminance": 0.02908
}

Semantic roles & 50–950 ramp

primary
#241B87
secondary
#B0BA44
accent
#EA3EDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241B87

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

Preview Lab → · Contrast checker → · Palette generator →

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