#241998#241998

#241998 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 34.2% C 0.191 H 273.5°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#241998
RGBrgb(36, 25, 152)
HSLhsl(245, 72%, 35%)
HSVhsv(245, 84%, 60%)
CMYKcmyk(76.3%, 83.6%, 0%, 40.4%)
CIE-LABlab(21.34, 46.00, -65.74)
CIE-LCHlch(21.34, 80.23, 304.98°)
OKLaboklab(34.23% 0.0117 -0.1901)
OKLCHoklch(34.23% 0.191 273.5)
XYZxyz(6.7408, 3.3366, 29.9885)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241998 #8D9819
analogous
#194E98 #241998 #641998
triadic
#241998 #982419 #199824
tetradic
#241998 #98194E #8D9819 #199864
square
#241998 #98194E #8D9819 #199864
split-complementary
#241998 #986419 #4E9819
monochromatic
#0B082F #181063 #241998 #3022CD #574AE1

Accessibility & contrast

On white

12.59
#241998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#241998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241998
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241998#FFFFFF#000000##FFFFFF
##2419981.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241998;
/* rgb */ color: rgb(36, 25, 152);
/* oklch */ color: oklch(34.2% 0.191 273.5);
Tailwind
colors: {
  custom: {
    50: '#745ab8',
    500: '#241998',
    950: '#000000',
  },
}
SCSS
$custom: #241998;
$custom-light: #745ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#241998",
  "rgb": {
    "r": 36,
    "g": 25,
    "b": 152
  },
  "hsl": {
    "h": 245.197,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34234,
    "c": 0.1905,
    "h": 273.5
  },
  "luminance": 0.03337
}

Semantic roles & 50–950 ramp

primary
#241998
secondary
#B8C34A
accent
#EE39DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241998

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

Preview Lab → · Contrast checker → · Palette generator →

#241998 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva