#241E8E#241E8E

#241E8E is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.7% C 0.174 H 274.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#241E8E
RGBrgb(36, 30, 142)
HSLhsl(243, 65%, 34%)
HSVhsv(243, 79%, 56%)
CMYKcmyk(74.6%, 78.9%, 0%, 44.3%)
CIE-LABlab(21.04, 40.23, -60.05)
CIE-LCHlch(21.04, 72.28, 303.82°)
OKLaboklab(33.68% 0.0124 -0.1737)
OKLCHoklch(33.68% 0.174 274.1)
XYZxyz(6.0727, 3.2560, 25.8944)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241E8E #888E1E
analogous
#1E508E #241E8E #5C1E8E
triadic
#241E8E #8E241E #1E8E24
tetradic
#241E8E #8E1E50 #888E1E #1E8E5C
square
#241E8E #8E1E50 #888E1E #1E8E5C
split-complementary
#241E8E #8E5C1E #508E1E
monochromatic
#0A0929 #17135B #241E8E #3129C1 #554DD9

Accessibility & contrast

On white

12.72
#241E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#241E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241E8E
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241E8E#FFFFFF#000000##FFFFFF
##241E8E1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#004055
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #241e8e;
/* rgb */ color: rgb(36, 30, 142);
/* oklch */ color: oklch(33.7% 0.174 274.1);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#241e8e',
    950: '#000000',
  },
}
SCSS
$custom: #241e8e;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#241e8e",
  "rgb": {
    "r": 36,
    "g": 30,
    "b": 142
  },
  "hsl": {
    "h": 243.214,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.17414,
    "h": 274.1
  },
  "luminance": 0.03257
}

Semantic roles & 50–950 ramp

primary
#241E8E
secondary
#B6BC4C
accent
#E840DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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