#241887#241887

#241887 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.171 H 275.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#241887
RGBrgb(36, 24, 135)
HSLhsl(246, 70%, 31%)
HSVhsv(246, 82%, 53%)
CMYKcmyk(73.3%, 82.2%, 0%, 47.1%)
CIE-LABlab(19.13, 41.11, -58.83)
CIE-LCHlch(19.13, 71.77, 304.94°)
OKLaboklab(32.1% 0.0168 -0.1701)
OKLCHoklch(32.1% 0.171 275.6)
XYZxyz(5.4259, 2.7771, 23.1671)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241887 #7B8718
analogous
#184387 #241887 #5B1887
triadic
#241887 #872418 #188724
tetradic
#241887 #871843 #7B8718 #18875B
square
#241887 #871843 #7B8718 #18875B
split-complementary
#241887 #875B18 #438718
monochromatic
#08061F #160F53 #241887 #3221BB #4E3DDC

Accessibility & contrast

On white

13.50
#241887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241887
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241887#FFFFFF#000000##FFFFFF
##2418871.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338A
Deuteranopia (green-blind)
#002985
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241887;
/* rgb */ color: rgb(36, 24, 135);
/* oklch */ color: oklch(32.1% 0.171 275.6);
Tailwind
colors: {
  custom: {
    50: '#7058ab',
    500: '#241887',
    950: '#000000',
  },
}
SCSS
$custom: #241887;
$custom-light: #7058ab;
$custom-dark: #000000;
JSON
{
  "hex": "#241887",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 246.486,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32103,
    "c": 0.17092,
    "h": 275.6
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#241887
secondary
#ADBB40
accent
#ED3BD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241887

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

Preview Lab → · Contrast checker → · Palette generator →

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