#241586#241586

#241586 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.6% C 0.172 H 276.1°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#241586
RGBrgb(36, 21, 134)
HSLhsl(248, 73%, 30%)
HSVhsv(248, 84%, 53%)
CMYKcmyk(73.1%, 84.3%, 0%, 47.5%)
CIE-LABlab(18.51, 42.26, -59.23)
CIE-LCHlch(18.51, 72.76, 305.50°)
OKLaboklab(31.64% 0.0183 -0.1712)
OKLCHoklch(31.64% 0.172 276.1)
XYZxyz(5.2974, 2.6321, 22.7785)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241586 #778615
analogous
#153E86 #241586 #5D1586
triadic
#241586 #862415 #158624
tetradic
#241586 #86153E #778615 #15865D
square
#241586 #86153E #778615 #15865D
split-complementary
#241586 #865D15 #3E8615
monochromatic
#08041C #160D51 #241586 #321DBB #4C36DF

Accessibility & contrast

On white

13.76
#241586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241586
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241586#FFFFFF#000000##FFFFFF
##2415861.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003289
Deuteranopia (green-blind)
#002884
Tritanopia (blue-blind)
#00394F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241586;
/* rgb */ color: rgb(36, 21, 134);
/* oklch */ color: oklch(31.6% 0.172 276.1);
Tailwind
colors: {
  custom: {
    50: '#7057ab',
    500: '#241586',
    950: '#000000',
  },
}
SCSS
$custom: #241586;
$custom-light: #7057ab;
$custom-dark: #000000;
JSON
{
  "hex": "#241586",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 134
  },
  "hsl": {
    "h": 247.965,
    "s": 72.903,
    "l": 30.392
  },
  "oklch": {
    "l": 0.31637,
    "c": 0.17218,
    "h": 276.1
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#241586
secondary
#AABA3C
accent
#F038D7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241586

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

Preview Lab → · Contrast checker → · Palette generator →

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