#241577#241577

#241577 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.9% C 0.154 H 278.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#241577
RGBrgb(36, 21, 119)
HSLhsl(249, 70%, 27%)
HSVhsv(249, 82%, 47%)
CMYKcmyk(69.7%, 82.4%, 0%, 53.3%)
CIE-LABlab(16.71, 37.49, -52.66)
CIE-LCHlch(16.71, 64.64, 305.45°)
OKLaboklab(29.87% 0.0229 -0.1521)
OKLCHoklch(29.87% 0.154 278.5)
XYZxyz(4.3244, 2.2429, 17.6542)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241577 #687715
analogous
#153777 #241577 #551577
triadic
#241577 #772415 #157724
tetradic
#241577 #771537 #687715 #157755
square
#241577 #771537 #687715 #157755
split-complementary
#241577 #775515 #377715
monochromatic
#08051A #140C43 #241577 #341EAB #472DDA

Accessibility & contrast

On white

14.50
#241577 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241577
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241577#FFFFFF#000000##FFFFFF
##2415771.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241577;
/* rgb */ color: rgb(36, 21, 119);
/* oklch */ color: oklch(29.9% 0.154 278.5);
Tailwind
colors: {
  custom: {
    50: '#6c569f',
    500: '#241577',
    950: '#000000',
  },
}
SCSS
$custom: #241577;
$custom-light: #6c569f;
$custom-dark: #000000;
JSON
{
  "hex": "#241577",
  "rgb": {
    "r": 36,
    "g": 21,
    "b": 119
  },
  "hsl": {
    "h": 249.184,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29871,
    "c": 0.1538,
    "h": 278.5
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#241577
secondary
#9BAD3B
accent
#ED3BD2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #241577

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

Preview Lab → · Contrast checker → · Palette generator →

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