#241479#241479

#241479 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.157 H 278.3°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#241479
RGBrgb(36, 20, 121)
HSLhsl(250, 72%, 28%)
HSVhsv(250, 83%, 47%)
CMYKcmyk(70.2%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.77, 38.64, -53.84)
CIE-LCHlch(16.77, 66.27, 305.67°)
OKLaboklab(29.98% 0.0228 -0.1555)
OKLCHoklch(29.98% 0.157 278.3)
XYZxyz(4.4278, 2.2555, 18.2875)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241479 #697914
analogous
#143679 #241479 #561479
triadic
#241479 #792414 #147924
tetradic
#241479 #791436 #697914 #147956
square
#241479 #791436 #697914 #147956
split-complementary
#241479 #795614 #367914
monochromatic
#08041A #140B44 #241479 #341DAE #472BDC

Accessibility & contrast

On white

14.47
#241479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#241479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241479
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241479#FFFFFF#000000##FFFFFF
##2414791.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241479;
/* rgb */ color: rgb(36, 20, 121);
/* oklch */ color: oklch(30.0% 0.157 278.3);
Tailwind
colors: {
  custom: {
    50: '#6d55a1',
    500: '#241479',
    950: '#000000',
  },
}
SCSS
$custom: #241479;
$custom-light: #6d55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241479",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 249.505,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29983,
    "c": 0.15718,
    "h": 278.3
  },
  "luminance": 0.02256
}

Semantic roles & 50–950 ramp

primary
#241479
secondary
#9CAF3A
accent
#EE39D2
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241479

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

Preview Lab → · Contrast checker → · Palette generator →

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