#241778#241778

#241778 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.2% C 0.153 H 278.1°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#241778
RGBrgb(36, 23, 120)
HSLhsl(248, 68%, 28%)
HSVhsv(248, 81%, 47%)
CMYKcmyk(70%, 80.8%, 0%, 52.9%)
CIE-LABlab(17.20, 36.76, -52.50)
CIE-LCHlch(17.20, 64.09, 305.00°)
OKLaboklab(30.24% 0.0215 -0.1517)
OKLCHoklch(30.24% 0.153 278.1)
XYZxyz(4.4230, 2.3435, 17.9849)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241778 #6B7817
analogous
#173A78 #241778 #541778
triadic
#241778 #782417 #177824
tetradic
#241778 #78173A #6B7817 #177854
square
#241778 #78173A #6B7817 #177854
split-complementary
#241778 #785417 #3A7817
monochromatic
#08051A #150D45 #241778 #3321AB #4832D8

Accessibility & contrast

On white

14.30
#241778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#241778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241778
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241778#FFFFFF#000000##FFFFFF
##2417781.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7B
Deuteranopia (green-blind)
#002676
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241778;
/* rgb */ color: rgb(36, 23, 120);
/* oklch */ color: oklch(30.2% 0.153 278.1);
Tailwind
colors: {
  custom: {
    50: '#6c57a0',
    500: '#241778',
    950: '#000000',
  },
}
SCSS
$custom: #241778;
$custom-light: #6c57a0;
$custom-dark: #000000;
JSON
{
  "hex": "#241778",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 248.041,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30241,
    "c": 0.15318,
    "h": 278.1
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#241778
secondary
#9EAD3E
accent
#EB3DD3
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241778

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

Preview Lab → · Contrast checker → · Palette generator →

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