#241477#241477

#241477 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.7% C 0.155 H 278.7°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#241477
RGBrgb(36, 20, 119)
HSLhsl(250, 71%, 27%)
HSVhsv(250, 83%, 47%)
CMYKcmyk(69.7%, 83.2%, 0%, 53.3%)
CIE-LABlab(16.54, 38.00, -52.95)
CIE-LCHlch(16.54, 65.17, 305.67°)
OKLaboklab(29.75% 0.0234 -0.1529)
OKLCHoklch(29.75% 0.155 278.7)
XYZxyz(4.3064, 2.2069, 17.6482)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241477 #677714
analogous
#143677 #241477 #561477
triadic
#241477 #772414 #147724
tetradic
#241477 #771436 #677714 #147756
square
#241477 #771436 #677714 #147756
split-complementary
#241477 #775614 #367714
monochromatic
#08041A #140B43 #241477 #341DAB #472ADB

Accessibility & contrast

On white

14.57
#241477 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#241477 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241477
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241477#FFFFFF#000000##FFFFFF
##2414771.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7A
Deuteranopia (green-blind)
#002575
Tritanopia (blue-blind)
#003246
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #241477;
/* rgb */ color: rgb(36, 20, 119);
/* oklch */ color: oklch(29.7% 0.155 278.7);
Tailwind
colors: {
  custom: {
    50: '#6c559f',
    500: '#241477',
    950: '#000000',
  },
}
SCSS
$custom: #241477;
$custom-light: #6c559f;
$custom-dark: #000000;
JSON
{
  "hex": "#241477",
  "rgb": {
    "r": 36,
    "g": 20,
    "b": 119
  },
  "hsl": {
    "h": 249.697,
    "s": 71.223,
    "l": 27.255
  },
  "oklch": {
    "l": 0.29749,
    "c": 0.1547,
    "h": 278.7
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#241477
secondary
#9AAD3A
accent
#EE3AD1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #241477

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

Preview Lab → · Contrast checker → · Palette generator →

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