#241D8E#241D8E

#241D8E is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.175 H 274.2°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#241D8E
RGBrgb(36, 29, 142)
HSLhsl(244, 66%, 34%)
HSVhsv(244, 80%, 56%)
CMYKcmyk(74.6%, 79.6%, 0%, 44.3%)
CIE-LABlab(20.85, 40.77, -60.36)
CIE-LCHlch(20.85, 72.84, 304.04°)
OKLaboklab(33.55% 0.0128 -0.1746)
OKLCHoklch(33.55% 0.175 274.2)
XYZxyz(6.0478, 3.2062, 25.8861)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D8E #878E1D
analogous
#1D4E8E #241D8E #5C1D8E
triadic
#241D8E #8E241D #1D8E24
tetradic
#241D8E #8E1D4E #878E1D #1D8E5C
square
#241D8E #8E1D4E #878E1D #1D8E5C
split-complementary
#241D8E #8E5C1D #4E8E1D
monochromatic
#0A0828 #17135B #241D8E #3127C1 #544BDA

Accessibility & contrast

On white

12.79
#241D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#241D8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D8E
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D8E#FFFFFF#000000##FFFFFF
##241D8E1.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#002D8C
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241d8e;
/* rgb */ color: rgb(36, 29, 142);
/* oklch */ color: oklch(33.5% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#241d8e',
    950: '#000000',
  },
}
SCSS
$custom: #241d8e;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#241d8e",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 243.717,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33545,
    "c": 0.17507,
    "h": 274.2
  },
  "luminance": 0.03207
}

Semantic roles & 50–950 ramp

primary
#241D8E
secondary
#B5BD4A
accent
#E93FDE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #241D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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