#241987#241987

#241987 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.2% C 0.170 H 275.5°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#241987
RGBrgb(36, 25, 135)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 81%, 53%)
CMYKcmyk(73.3%, 81.5%, 0%, 47.1%)
CIE-LABlab(19.30, 40.60, -58.54)
CIE-LCHlch(19.30, 71.24, 304.74°)
OKLaboklab(32.23% 0.0164 -0.1693)
OKLCHoklch(32.23% 0.17 275.5)
XYZxyz(5.4469, 2.8191, 23.1741)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241987 #7C8719
analogous
#194587 #241987 #5B1987
triadic
#241987 #872419 #198724
tetradic
#241987 #871945 #7C8719 #19875B
square
#241987 #871945 #7C8719 #19875B
split-complementary
#241987 #875B19 #458719
monochromatic
#080620 #160F53 #241987 #3223BB #4F3FDB

Accessibility & contrast

On white

13.43
#241987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#241987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241987
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241987#FFFFFF#000000##FFFFFF
##2419871.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241987;
/* rgb */ color: rgb(36, 25, 135);
/* oklch */ color: oklch(32.2% 0.170 275.5);
Tailwind
colors: {
  custom: {
    50: '#7059ab',
    500: '#241987',
    950: '#000000',
  },
}
SCSS
$custom: #241987;
$custom-light: #7059ab;
$custom-dark: #000000;
JSON
{
  "hex": "#241987",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 246,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32226,
    "c": 0.17005,
    "h": 275.5
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#241987
secondary
#AEBA41
accent
#EC3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241987

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

Preview Lab → · Contrast checker → · Palette generator →

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