#241F96#241F96

#241F96 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.183 H 273.2°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#241F96
RGBrgb(36, 31, 150)
HSLhsl(243, 66%, 35%)
HSVhsv(243, 79%, 59%)
CMYKcmyk(76%, 79.3%, 0%, 41.2%)
CIE-LABlab(22.15, 42.33, -63.18)
CIE-LCHlch(22.15, 76.05, 303.82°)
OKLaboklab(34.72% 0.0101 -0.1828)
OKLCHoklch(34.72% 0.183 273.2)
XYZxyz(6.7207, 3.5563, 29.1805)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F96 #91961F
analogous
#1F5596 #241F96 #5F1F96
triadic
#241F96 #96241F #1F9624
tetradic
#241F96 #961F55 #91961F #1F965F
square
#241F96 #961F55 #91961F #1F965F
split-complementary
#241F96 #965F1F #55961F
monochromatic
#0C0A31 #181563 #241F96 #3029C9 #5954DC

Accessibility & contrast

On white

12.27
#241F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#241F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F96
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F96#FFFFFF#000000##FFFFFF
##241F961.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #241f96;
/* rgb */ color: rgb(36, 31, 150);
/* oklch */ color: oklch(34.7% 0.183 273.2);
Tailwind
colors: {
  custom: {
    50: '#735db6',
    500: '#241f96',
    950: '#000000',
  },
}
SCSS
$custom: #241f96;
$custom-light: #735db6;
$custom-dark: #000000;
JSON
{
  "hex": "#241f96",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 242.521,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34723,
    "c": 0.18308,
    "h": 273.2
  },
  "luminance": 0.03557
}

Semantic roles & 50–950 ramp

primary
#241F96
secondary
#BABF52
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241F96

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

Preview Lab → · Contrast checker → · Palette generator →

#241F96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva