#241886#241886

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

Color values

HEX#241886
RGBrgb(36, 24, 134)
HSLhsl(247, 70%, 31%)
HSVhsv(247, 82%, 53%)
CMYKcmyk(73.1%, 82.1%, 0%, 47.5%)
CIE-LABlab(19.01, 40.79, -58.40)
CIE-LCHlch(19.01, 71.23, 304.93°)
OKLaboklab(31.99% 0.0171 -0.1688)
OKLCHoklch(31.99% 0.17 275.8)
XYZxyz(5.3559, 2.7491, 22.7980)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241886 #7A8618
analogous
#184386 #241886 #5B1886
triadic
#241886 #862418 #188624
tetradic
#241886 #861843 #7A8618 #18865B
square
#241886 #861843 #7A8618 #18865B
split-complementary
#241886 #865B18 #438618
monochromatic
#08051E #160F52 #241886 #3221BA #4E3CDC

Accessibility & contrast

On white

13.55
#241886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#241886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241886
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241886#FFFFFF#000000##FFFFFF
##2418861.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241886;
/* rgb */ color: rgb(36, 24, 134);
/* oklch */ color: oklch(32.0% 0.170 275.8);
Tailwind
colors: {
  custom: {
    50: '#7058aa',
    500: '#241886',
    950: '#000000',
  },
}
SCSS
$custom: #241886;
$custom-light: #7058aa;
$custom-dark: #000000;
JSON
{
  "hex": "#241886",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 246.545,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.31986,
    "c": 0.16969,
    "h": 275.8
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#241886
secondary
#ACBA40
accent
#EC3BD9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241886

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

Preview Lab → · Contrast checker → · Palette generator →

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