#241986#241986

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

Color values

HEX#241986
RGBrgb(36, 25, 134)
HSLhsl(246, 69%, 31%)
HSVhsv(246, 81%, 53%)
CMYKcmyk(73.1%, 81.3%, 0%, 47.5%)
CIE-LABlab(19.19, 40.27, -58.11)
CIE-LCHlch(19.19, 70.70, 304.73°)
OKLaboklab(32.11% 0.0166 -0.168)
OKLCHoklch(32.11% 0.169 275.7)
XYZxyz(5.3768, 2.7910, 22.8050)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241986 #7B8619
analogous
#194486 #241986 #5A1986
triadic
#241986 #862419 #198624
tetradic
#241986 #861944 #7B8619 #19865A
square
#241986 #861944 #7B8619 #19865A
split-complementary
#241986 #865A19 #448619
monochromatic
#08061F #160F52 #241986 #3223BA #4E3EDB

Accessibility & contrast

On white

13.48
#241986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241986
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241986#FFFFFF#000000##FFFFFF
##2419861.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003389
Deuteranopia (green-blind)
#002A84
Tritanopia (blue-blind)
#003A50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241986;
/* rgb */ color: rgb(36, 25, 134);
/* oklch */ color: oklch(32.1% 0.169 275.7);
Tailwind
colors: {
  custom: {
    50: '#7059aa',
    500: '#241986',
    950: '#000000',
  },
}
SCSS
$custom: #241986;
$custom-light: #7059aa;
$custom-dark: #000000;
JSON
{
  "hex": "#241986",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 246.055,
    "s": 68.553,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32109,
    "c": 0.16881,
    "h": 275.7
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#241986
secondary
#ADBA41
accent
#EB3CDA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241986

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

Preview Lab → · Contrast checker → · Palette generator →

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