#241779#241779

#241779 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.154 H 277.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#241779
RGBrgb(36, 23, 121)
HSLhsl(248, 68%, 28%)
HSVhsv(248, 81%, 47%)
CMYKcmyk(70.2%, 81%, 0%, 52.5%)
CIE-LABlab(17.31, 37.09, -52.95)
CIE-LCHlch(17.31, 64.65, 305.01°)
OKLaboklab(30.36% 0.0212 -0.153)
OKLCHoklch(30.36% 0.154 277.9)
XYZxyz(4.4840, 2.3679, 18.3062)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241779 #6C7917
analogous
#173B79 #241779 #551779
triadic
#241779 #792417 #177924
tetradic
#241779 #79173B #6C7917 #177955
square
#241779 #79173B #6C7917 #177955
split-complementary
#241779 #795517 #3B7917
monochromatic
#08051A #150D46 #241779 #3321AC #4832D8

Accessibility & contrast

On white

14.25
#241779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241779
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241779#FFFFFF#000000##FFFFFF
##2417791.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241779;
/* rgb */ color: rgb(36, 23, 121);
/* oklch */ color: oklch(30.4% 0.154 277.9);
Tailwind
colors: {
  custom: {
    50: '#6d57a1',
    500: '#241779',
    950: '#000000',
  },
}
SCSS
$custom: #241779;
$custom-light: #6d57a1;
$custom-dark: #000000;
JSON
{
  "hex": "#241779",
  "rgb": {
    "r": 36,
    "g": 23,
    "b": 121
  },
  "hsl": {
    "h": 247.959,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30356,
    "c": 0.15444,
    "h": 277.9
  },
  "luminance": 0.02368
}

Semantic roles & 50–950 ramp

primary
#241779
secondary
#9FAE3E
accent
#EB3DD4
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241779

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

Preview Lab → · Contrast checker → · Palette generator →

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