#241793#241793

#241793 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.4% C 0.186 H 274.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#241793
RGBrgb(36, 23, 147)
HSLhsl(246, 73%, 33%)
HSVhsv(246, 84%, 58%)
CMYKcmyk(75.5%, 84.4%, 0%, 42.4%)
CIE-LABlab(20.42, 45.37, -64.19)
CIE-LCHlch(20.42, 78.61, 305.25°)
OKLaboklab(33.42% 0.0137 -0.1856)
OKLCHoklch(33.42% 0.186 274.2)
XYZxyz(6.2987, 3.0938, 27.8633)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241793 #869317
analogous
#174893 #241793 #621793
triadic
#241793 #932417 #179324
tetradic
#241793 #931748 #869317 #179362
square
#241793 #931748 #869317 #179362
split-complementary
#241793 #936217 #489317
monochromatic
#0A0629 #170F5E #241793 #311FC8 #5343E2

Accessibility & contrast

On white

12.97
#241793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#241793 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241793
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241793#FFFFFF#000000##FFFFFF
##2417931.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002B91
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241793;
/* rgb */ color: rgb(36, 23, 147);
/* oklch */ color: oklch(33.4% 0.186 274.2);
Tailwind
colors: {
  custom: {
    50: '#7359b4',
    500: '#241793',
    950: '#000000',
  },
}
SCSS
$custom: #241793;
$custom-light: #7359b4;
$custom-dark: #000000;
JSON
{
  "hex": "#241793",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 147
  },
  "hsl": {
    "h": 246.29,
    "s": 72.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33416,
    "c": 0.18612,
    "h": 274.2
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#241793
secondary
#B5C244
accent
#F038DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241793

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

Preview Lab → · Contrast checker → · Palette generator →

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