#241B97#241B97

#241B97 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.3% C 0.188 H 273.5°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#241B97
RGBrgb(36, 27, 151)
HSLhsl(244, 70%, 35%)
HSVhsv(244, 82%, 59%)
CMYKcmyk(76.2%, 82.1%, 0%, 40.8%)
CIE-LABlab(21.55, 44.72, -64.78)
CIE-LCHlch(21.55, 78.71, 304.62°)
OKLaboklab(34.34% 0.0113 -0.1874)
OKLCHoklch(34.34% 0.188 273.5)
XYZxyz(6.7035, 3.3926, 29.5737)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B97 #8E971B
analogous
#1B5097 #241B97 #621B97
triadic
#241B97 #97241B #1B9724
tetradic
#241B97 #971B50 #8E971B #1B9762
square
#241B97 #971B50 #8E971B #1B9762
split-complementary
#241B97 #97621B #50971B
monochromatic
#0B082F #181263 #241B97 #3024CB #584DDF

Accessibility & contrast

On white

12.51
#241B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#241B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B97
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B97#FFFFFF#000000##FFFFFF
##241B971.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241b97;
/* rgb */ color: rgb(36, 27, 151);
/* oklch */ color: oklch(34.3% 0.188 273.5);
Tailwind
colors: {
  custom: {
    50: '#745bb7',
    500: '#241b97',
    950: '#000000',
  },
}
SCSS
$custom: #241b97;
$custom-light: #745bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#241b97",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 244.355,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34343,
    "c": 0.18773,
    "h": 273.5
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#241B97
secondary
#B9C14C
accent
#EC3BE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241B97

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

Preview Lab → · Contrast checker → · Palette generator →

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