#241996#241996

#241996 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.0% C 0.188 H 273.7°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#241996
RGBrgb(36, 25, 150)
HSLhsl(245, 71%, 34%)
HSVhsv(245, 83%, 59%)
CMYKcmyk(76%, 83.3%, 0%, 41.2%)
CIE-LABlab(21.10, 45.37, -64.91)
CIE-LCHlch(21.10, 79.19, 304.95°)
OKLaboklab(33.99% 0.0123 -0.1877)
OKLCHoklch(33.99% 0.188 273.7)
XYZxyz(6.5784, 3.2717, 29.1330)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241996 #8B9619
analogous
#194D96 #241996 #631996
triadic
#241996 #962419 #199624
tetradic
#241996 #96194D #8B9619 #199663
square
#241996 #96194D #8B9619 #199663
split-complementary
#241996 #966319 #4D9619
monochromatic
#0B082D #171062 #241996 #3122CA #5649E1

Accessibility & contrast

On white

12.69
#241996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#241996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241996
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241996#FFFFFF#000000##FFFFFF
##2419961.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003899
Deuteranopia (green-blind)
#002D94
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241996;
/* rgb */ color: rgb(36, 25, 150);
/* oklch */ color: oklch(34.0% 0.188 273.7);
Tailwind
colors: {
  custom: {
    50: '#745ab6',
    500: '#241996',
    950: '#000000',
  },
}
SCSS
$custom: #241996;
$custom-light: #745ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#241996",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 245.28,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.33995,
    "c": 0.18813,
    "h": 273.7
  },
  "luminance": 0.03272
}

Semantic roles & 50–950 ramp

primary
#241996
secondary
#B7C249
accent
#EE3ADE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241996

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

Preview Lab → · Contrast checker → · Palette generator →

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