#241A97#241A97

#241A97 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.189 H 273.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#241A97
RGBrgb(36, 26, 151)
HSLhsl(245, 71%, 35%)
HSVhsv(245, 83%, 59%)
CMYKcmyk(76.2%, 82.8%, 0%, 40.8%)
CIE-LABlab(21.39, 45.21, -65.05)
CIE-LCHlch(21.39, 79.22, 304.80°)
OKLaboklab(34.23% 0.0117 -0.1882)
OKLCHoklch(34.23% 0.189 273.6)
XYZxyz(6.6810, 3.3475, 29.5662)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A97 #8D971A
analogous
#1A4F97 #241A97 #631A97
triadic
#241A97 #97241A #1A9724
tetradic
#241A97 #971A4F #8D971A #1A9763
square
#241A97 #971A4F #8D971A #1A9763
split-complementary
#241A97 #97631A #4F971A
monochromatic
#0B082F #181163 #241A97 #3023CB #574BE0

Accessibility & contrast

On white

12.58
#241A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#241A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A97
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A97#FFFFFF#000000##FFFFFF
##241A971.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00399A
Deuteranopia (green-blind)
#002D95
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241a97;
/* rgb */ color: rgb(36, 26, 151);
/* oklch */ color: oklch(34.2% 0.189 273.6);
Tailwind
colors: {
  custom: {
    50: '#745bb7',
    500: '#241a97',
    950: '#000000',
  },
}
SCSS
$custom: #241a97;
$custom-light: #745bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#241a97",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 244.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34227,
    "c": 0.18853,
    "h": 273.6
  },
  "luminance": 0.03348
}

Semantic roles & 50–950 ramp

primary
#241A97
secondary
#B8C24B
accent
#ED3ADF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241A97

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

Preview Lab → · Contrast checker → · Palette generator →

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