#241A98#241A98

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

Color values

HEX#241A98
RGBrgb(36, 26, 152)
HSLhsl(245, 71%, 35%)
HSVhsv(245, 83%, 60%)
CMYKcmyk(76.3%, 82.9%, 0%, 40.4%)
CIE-LABlab(21.51, 45.52, -65.47)
CIE-LCHlch(21.51, 79.74, 304.81°)
OKLaboklab(34.35% 0.0114 -0.1894)
OKLCHoklch(34.35% 0.19 273.4)
XYZxyz(6.7626, 3.3801, 29.9957)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A98 #8E981A
analogous
#1A4F98 #241A98 #631A98
triadic
#241A98 #98241A #1A9824
tetradic
#241A98 #981A4F #8E981A #1A9863
square
#241A98 #981A4F #8E981A #1A9863
split-complementary
#241A98 #98631A #4F981A
monochromatic
#0B082F #181164 #241A98 #3023CC #584CE0

Accessibility & contrast

On white

12.53
#241A98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241A98
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A98#FFFFFF#000000##FFFFFF
##241A981.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241a98;
/* rgb */ color: rgb(36, 26, 152);
/* oklch */ color: oklch(34.3% 0.190 273.4);
Tailwind
colors: {
  custom: {
    50: '#745bb8',
    500: '#241a98',
    950: '#000000',
  },
}
SCSS
$custom: #241a98;
$custom-light: #745bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#241a98",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 152
  },
  "hsl": {
    "h": 244.762,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.18972,
    "h": 273.4
  },
  "luminance": 0.03381
}

Semantic roles & 50–950 ramp

primary
#241A98
secondary
#B9C24B
accent
#EE3ADF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #241A98

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

Preview Lab → · Contrast checker → · Palette generator →

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