#241879#241879

#241879 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.153 H 277.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#241879
RGBrgb(36, 24, 121)
HSLhsl(247, 67%, 28%)
HSVhsv(247, 80%, 47%)
CMYKcmyk(70.2%, 80.2%, 0%, 52.5%)
CIE-LABlab(17.50, 36.55, -52.64)
CIE-LCHlch(17.50, 64.08, 304.77°)
OKLaboklab(30.49% 0.0207 -0.1521)
OKLCHoklch(30.49% 0.153 277.7)
XYZxyz(4.5043, 2.4084, 18.3130)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241879 #6D7918
analogous
#183C79 #241879 #541879
triadic
#241879 #792418 #187924
tetradic
#241879 #79183C #6D7918 #187954
square
#241879 #79183C #6D7918 #187954
split-complementary
#241879 #795418 #3C7918
monochromatic
#08051A #150E46 #241879 #3322AC #4935D7

Accessibility & contrast

On white

14.17
#241879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#241879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241879
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241879#FFFFFF#000000##FFFFFF
##2418791.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241879;
/* rgb */ color: rgb(36, 24, 121);
/* oklch */ color: oklch(30.5% 0.153 277.7);
Tailwind
colors: {
  custom: {
    50: '#6d57a1',
    500: '#241879',
    950: '#000000',
  },
}
SCSS
$custom: #241879;
$custom-light: #6d57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241879",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 247.423,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30488,
    "c": 0.15349,
    "h": 277.7
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#241879
secondary
#A0AE3F
accent
#EA3ED5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241879

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

Preview Lab → · Contrast checker → · Palette generator →

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