#241F97#241F97

#241F97 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.184 H 273.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#241F97
RGBrgb(36, 31, 151)
HSLhsl(243, 66%, 36%)
HSVhsv(243, 79%, 59%)
CMYKcmyk(76.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(22.26, 42.66, -63.60)
CIE-LCHlch(22.26, 76.58, 303.85°)
OKLaboklab(34.84% 0.0099 -0.184)
OKLCHoklch(34.84% 0.184 273.1)
XYZxyz(6.8016, 3.5887, 29.6064)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241F97 #92971F
analogous
#1F5697 #241F97 #601F97
triadic
#241F97 #97241F #1F9724
tetradic
#241F97 #971F56 #92971F #1F9760
square
#241F97 #971F56 #92971F #1F9760
split-complementary
#241F97 #97601F #56971F
monochromatic
#0C0A31 #181564 #241F97 #3029CA #5A54DC

Accessibility & contrast

On white

12.22
#241F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#241F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241F97
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241F97#FFFFFF#000000##FFFFFF
##241F971.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #241f97;
/* rgb */ color: rgb(36, 31, 151);
/* oklch */ color: oklch(34.8% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#735db7',
    500: '#241f97',
    950: '#000000',
  },
}
SCSS
$custom: #241f97;
$custom-light: #735db7;
$custom-dark: #000000;
JSON
{
  "hex": "#241f97",
  "rgb": {
    "r": 36,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 242.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34838,
    "c": 0.1843,
    "h": 273.1
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#241F97
secondary
#BBBF52
accent
#E93FE2
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241F97

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

Preview Lab → · Contrast checker → · Palette generator →

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