#241D97#241D97

#241D97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.6% C 0.186 H 273.3°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#241D97
RGBrgb(36, 29, 151)
HSLhsl(243, 68%, 35%)
HSVhsv(243, 81%, 59%)
CMYKcmyk(76.2%, 80.8%, 0%, 40.8%)
CIE-LABlab(21.90, 43.71, -64.20)
CIE-LCHlch(21.90, 77.67, 304.25°)
OKLaboklab(34.58% 0.0106 -0.1857)
OKLCHoklch(34.58% 0.186 273.3)
XYZxyz(6.7510, 3.4875, 29.5895)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D97 #90971D
analogous
#1D5397 #241D97 #611D97
triadic
#241D97 #97241D #1D9724
tetradic
#241D97 #971D53 #90971D #1D9761
square
#241D97 #971D53 #90971D #1D9761
split-complementary
#241D97 #97611D #53971D
monochromatic
#0C0930 #181364 #241D97 #3027CA #5951DE

Accessibility & contrast

On white

12.37
#241D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#241D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D97
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D97#FFFFFF#000000##FFFFFF
##241D971.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #241d97;
/* rgb */ color: rgb(36, 29, 151);
/* oklch */ color: oklch(34.6% 0.186 273.3);
Tailwind
colors: {
  custom: {
    50: '#735cb7',
    500: '#241d97',
    950: '#000000',
  },
}
SCSS
$custom: #241d97;
$custom-light: #735cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#241d97",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 243.443,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34584,
    "c": 0.18605,
    "h": 273.3
  },
  "luminance": 0.03488
}

Semantic roles & 50–950 ramp

primary
#241D97
secondary
#BAC04F
accent
#EB3DE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241D97

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

Preview Lab → · Contrast checker → · Palette generator →

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