#241E98#241E98

#241E98 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.186 H 273.1°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#241E98
RGBrgb(36, 30, 152)
HSLhsl(243, 67%, 36%)
HSVhsv(243, 80%, 60%)
CMYKcmyk(76.3%, 80.3%, 0%, 40.4%)
CIE-LABlab(22.20, 43.52, -64.33)
CIE-LCHlch(22.20, 77.66, 304.08°)
OKLaboklab(34.83% 0.01 -0.1861)
OKLCHoklch(34.83% 0.186 273.1)
XYZxyz(6.8574, 3.5699, 30.0273)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E98 #92981E
analogous
#1E5598 #241E98 #611E98
triadic
#241E98 #98241E #1E9824
tetradic
#241E98 #981E55 #92981E #1E9861
square
#241E98 #981E55 #92981E #1E9861
split-complementary
#241E98 #98611E #55981E
monochromatic
#0C0A32 #181465 #241E98 #3028CB #5A53DD

Accessibility & contrast

On white

12.25
#241E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#241E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E98
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E98#FFFFFF#000000##FFFFFF
##241E981.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#002F96
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #241e98;
/* rgb */ color: rgb(36, 30, 152);
/* oklch */ color: oklch(34.8% 0.186 273.1);
Tailwind
colors: {
  custom: {
    50: '#745db8',
    500: '#241e98',
    950: '#000000',
  },
}
SCSS
$custom: #241e98;
$custom-light: #745db8;
$custom-dark: #000000;
JSON
{
  "hex": "#241e98",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 152
  },
  "hsl": {
    "h": 242.951,
    "s": 67.033,
    "l": 35.686
  },
  "oklch": {
    "l": 0.34825,
    "c": 0.1864,
    "h": 273.1
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#241E98
secondary
#BBC051
accent
#EA3EE1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #241E98

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

Preview Lab → · Contrast checker → · Palette generator →

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