#241D8D#241D8D

#241D8D is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.4% C 0.174 H 274.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#241D8D
RGBrgb(36, 29, 141)
HSLhsl(244, 66%, 33%)
HSVhsv(244, 79%, 55%)
CMYKcmyk(74.5%, 79.4%, 0%, 44.7%)
CIE-LABlab(20.74, 40.44, -59.93)
CIE-LCHlch(20.74, 72.30, 304.01°)
OKLaboklab(33.43% 0.0131 -0.1733)
OKLCHoklch(33.43% 0.174 274.3)
XYZxyz(5.9730, 3.1763, 25.4924)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D8D #868D1D
analogous
#1D4E8D #241D8D #5C1D8D
triadic
#241D8D #8D241D #1D8D24
tetradic
#241D8D #8D1D4E #868D1D #1D8D5C
square
#241D8D #8D1D4E #868D1D #1D8D5C
split-complementary
#241D8D #8D5C1D #4E8D1D
monochromatic
#0A0827 #17135A #241D8D #3127C0 #534BDA

Accessibility & contrast

On white

12.84
#241D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241D8D
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D8D#FFFFFF#000000##FFFFFF
##241D8D1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#002D8B
Tritanopia (blue-blind)
#003F54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241d8d;
/* rgb */ color: rgb(36, 29, 141);
/* oklch */ color: oklch(33.4% 0.174 274.3);
Tailwind
colors: {
  custom: {
    50: '#715cb0',
    500: '#241d8d',
    950: '#000000',
  },
}
SCSS
$custom: #241d8d;
$custom-light: #715cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#241d8d",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 243.75,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.17383,
    "h": 274.3
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #241D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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