#241E87#241E87

#241E87 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.165 H 274.8°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#241E87
RGBrgb(36, 30, 135)
HSLhsl(243, 64%, 32%)
HSVhsv(243, 78%, 53%)
CMYKcmyk(73.3%, 77.8%, 0%, 47.1%)
CIE-LABlab(20.25, 37.88, -56.97)
CIE-LCHlch(20.25, 68.42, 303.62°)
OKLaboklab(32.89% 0.014 -0.1648)
OKLCHoklch(32.89% 0.165 274.8)
XYZxyz(5.5636, 3.0523, 23.2129)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E87 #81871E
analogous
#1E4C87 #241E87 #591E87
triadic
#241E87 #87241E #1E8724
tetradic
#241E87 #871E4C #81871E #1E8759
square
#241E87 #871E4C #81871E #1E8759
split-complementary
#241E87 #87591E #4C871E
monochromatic
#090823 #171355 #241E87 #3129B9 #5149D7

Accessibility & contrast

On white

13.04
#241E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#241E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E87
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E87#FFFFFF#000000##FFFFFF
##241E871.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368A
Deuteranopia (green-blind)
#002C85
Tritanopia (blue-blind)
#003D51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #241e87;
/* rgb */ color: rgb(36, 30, 135);
/* oklch */ color: oklch(32.9% 0.165 274.8);
Tailwind
colors: {
  custom: {
    50: '#6f5cab',
    500: '#241e87',
    950: '#000000',
  },
}
SCSS
$custom: #241e87;
$custom-light: #6f5cab;
$custom-dark: #000000;
JSON
{
  "hex": "#241e87",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 243.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.16535,
    "h": 274.8
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#241E87
secondary
#B2B948
accent
#E741DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241E87

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

Preview Lab → · Contrast checker → · Palette generator →

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