#241D8C#241D8C

#241D8C is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.3% C 0.173 H 274.4°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#241D8C
RGBrgb(36, 29, 140)
HSLhsl(244, 66%, 33%)
HSVhsv(244, 79%, 55%)
CMYKcmyk(74.3%, 79.3%, 0%, 45.1%)
CIE-LABlab(20.62, 40.11, -59.49)
CIE-LCHlch(20.62, 71.75, 303.99°)
OKLaboklab(33.32% 0.0133 -0.1721)
OKLCHoklch(33.32% 0.173 274.4)
XYZxyz(5.8990, 3.1467, 25.1023)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D8C #858C1D
analogous
#1D4D8C #241D8C #5B1D8C
triadic
#241D8C #8C241D #1D8C24
tetradic
#241D8C #8C1D4D #858C1D #1D8C5B
square
#241D8C #8C1D4D #858C1D #1D8C5B
split-complementary
#241D8C #8C5B1D #4D8C1D
monochromatic
#0A0827 #171259 #241D8C #3128BF #534AD9

Accessibility & contrast

On white

12.89
#241D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#241D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D8C
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D8C#FFFFFF#000000##FFFFFF
##241D8C1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002C8A
Tritanopia (blue-blind)
#003E54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #241d8c;
/* rgb */ color: rgb(36, 29, 140);
/* oklch */ color: oklch(33.3% 0.173 274.4);
Tailwind
colors: {
  custom: {
    50: '#715baf',
    500: '#241d8c',
    950: '#000000',
  },
}
SCSS
$custom: #241d8c;
$custom-light: #715baf;
$custom-dark: #000000;
JSON
{
  "hex": "#241d8c",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 140
  },
  "hsl": {
    "h": 243.784,
    "s": 65.68,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33317,
    "c": 0.17259,
    "h": 274.4
  },
  "luminance": 0.03147
}

Semantic roles & 50–950 ramp

primary
#241D8C
secondary
#B4BC49
accent
#E93FDE
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090410
muted
#7B797F

Preview Lab

Preview with #241D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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