#241978#241978

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

Color values

HEX#241978
RGBrgb(36, 25, 120)
HSLhsl(247, 66%, 28%)
HSVhsv(247, 79%, 47%)
CMYKcmyk(70%, 79.2%, 0%, 52.9%)
CIE-LABlab(17.58, 35.66, -51.87)
CIE-LCHlch(17.58, 62.94, 304.51°)
OKLaboklab(30.51% 0.0203 -0.1498)
OKLCHoklch(30.51% 0.151 277.7)
XYZxyz(4.4643, 2.4260, 17.9987)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241978 #6D7819
analogous
#193D78 #241978 #531978
triadic
#241978 #782419 #197824
tetradic
#241978 #78193D #6D7819 #197853
square
#241978 #78193D #6D7819 #197853
split-complementary
#241978 #785319 #3D7819
monochromatic
#080519 #150E45 #241978 #3324AB #4936D5

Accessibility & contrast

On white

14.14
#241978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#241978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241978
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241978#FFFFFF#000000##FFFFFF
##2419781.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002776
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241978;
/* rgb */ color: rgb(36, 25, 120);
/* oklch */ color: oklch(30.5% 0.151 277.7);
Tailwind
colors: {
  custom: {
    50: '#6c58a0',
    500: '#241978',
    950: '#000000',
  },
}
SCSS
$custom: #241978;
$custom-light: #6c58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#241978",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 246.947,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30511,
    "c": 0.15121,
    "h": 277.7
  },
  "luminance": 0.02426
}

Semantic roles & 50–950 ramp

primary
#241978
secondary
#A0AD40
accent
#E83FD5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241978

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

Preview Lab → · Contrast checker → · Palette generator →

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