#241E97#241E97

#241E97 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.7% C 0.185 H 273.2°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#241E97
RGBrgb(36, 30, 151)
HSLhsl(243, 67%, 35%)
HSVhsv(243, 80%, 59%)
CMYKcmyk(76.2%, 80.1%, 0%, 40.8%)
CIE-LABlab(22.08, 43.19, -63.90)
CIE-LCHlch(22.08, 77.13, 304.05°)
OKLaboklab(34.71% 0.0103 -0.1849)
OKLCHoklch(34.71% 0.185 273.2)
XYZxyz(6.7759, 3.5373, 29.5978)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E97 #91971E
analogous
#1E5497 #241E97 #601E97
triadic
#241E97 #97241E #1E9724
tetradic
#241E97 #971E54 #91971E #1E9760
square
#241E97 #971E54 #91971E #1E9760
split-complementary
#241E97 #97601E #54971E
monochromatic
#0C0A31 #181464 #241E97 #3028CA #5953DD

Accessibility & contrast

On white

12.30
#241E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241E97
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E97#FFFFFF#000000##FFFFFF
##241E971.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9A
Deuteranopia (green-blind)
#002F95
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #241e97;
/* rgb */ color: rgb(36, 30, 151);
/* oklch */ color: oklch(34.7% 0.185 273.2);
Tailwind
colors: {
  custom: {
    50: '#735db7',
    500: '#241e97',
    950: '#000000',
  },
}
SCSS
$custom: #241e97;
$custom-light: #735db7;
$custom-dark: #000000;
JSON
{
  "hex": "#241e97",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 242.975,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34709,
    "c": 0.18518,
    "h": 273.2
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241E97

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

Preview Lab → · Contrast checker → · Palette generator →

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