#241786#241786

#241786 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.171 H 275.9°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#241786
RGBrgb(36, 23, 134)
HSLhsl(247, 71%, 31%)
HSVhsv(247, 83%, 53%)
CMYKcmyk(73.1%, 82.8%, 0%, 47.5%)
CIE-LABlab(18.84, 41.29, -58.69)
CIE-LCHlch(18.84, 71.76, 305.13°)
OKLaboklab(31.87% 0.0175 -0.1696)
OKLCHoklch(31.87% 0.171 275.9)
XYZxyz(5.3356, 2.7086, 22.7913)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241786 #798617
analogous
#174186 #241786 #5B1786
triadic
#241786 #862417 #178624
tetradic
#241786 #861741 #798617 #17865B
square
#241786 #861741 #798617 #17865B
split-complementary
#241786 #865B17 #418617
monochromatic
#08051E #160E52 #241786 #3220BA #4D3ADD

Accessibility & contrast

On white

13.62
#241786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#241786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241786
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241786#FFFFFF#000000##FFFFFF
##2417861.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002984
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #241786;
/* rgb */ color: rgb(36, 23, 134);
/* oklch */ color: oklch(31.9% 0.171 275.9);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#241786',
    950: '#000000',
  },
}
SCSS
$custom: #241786;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#241786",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 247.027,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31866,
    "c": 0.17055,
    "h": 275.9
  },
  "luminance": 0.02709
}

Semantic roles & 50–950 ramp

primary
#241786
secondary
#ACBA3F
accent
#ED3AD8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241786

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

Preview Lab → · Contrast checker → · Palette generator →

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