#241B98#241B98

#241B98 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 34.5% C 0.189 H 273.4°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#241B98
RGBrgb(36, 27, 152)
HSLhsl(244, 70%, 35%)
HSVhsv(244, 82%, 60%)
CMYKcmyk(76.3%, 82.2%, 0%, 40.4%)
CIE-LABlab(21.67, 45.04, -65.19)
CIE-LCHlch(21.67, 79.24, 304.64°)
OKLaboklab(34.46% 0.0111 -0.1886)
OKLCHoklch(34.46% 0.189 273.4)
XYZxyz(6.7851, 3.4252, 30.0032)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241B98 #8F981B
analogous
#1B5098 #241B98 #621B98
triadic
#241B98 #98241B #1B9824
tetradic
#241B98 #981B50 #8F981B #1B9862
square
#241B98 #981B50 #8F981B #1B9862
split-complementary
#241B98 #98621B #50981B
monochromatic
#0B0930 #181264 #241B98 #3024CC #584EE0

Accessibility & contrast

On white

12.46
#241B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#241B98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241B98
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241B98#FFFFFF#000000##FFFFFF
##241B981.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9B
Deuteranopia (green-blind)
#002E96
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #241b98;
/* rgb */ color: rgb(36, 27, 152);
/* oklch */ color: oklch(34.5% 0.189 273.4);
Tailwind
colors: {
  custom: {
    50: '#745bb8',
    500: '#241b98',
    950: '#000000',
  },
}
SCSS
$custom: #241b98;
$custom-light: #745bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#241b98",
  "rgb": {
    "r": 36,
    "g": 27,
    "b": 152
  },
  "hsl": {
    "h": 244.32,
    "s": 69.832,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34461,
    "c": 0.18893,
    "h": 273.4
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#241B98
secondary
#B9C24D
accent
#ED3BE0
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241B98

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

Preview Lab → · Contrast checker → · Palette generator →

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