#241D81#241D81

#241D81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.1% C 0.159 H 275.7°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#241D81
RGBrgb(36, 29, 129)
HSLhsl(244, 63%, 31%)
HSVhsv(244, 78%, 51%)
CMYKcmyk(72.1%, 77.5%, 0%, 49.4%)
CIE-LABlab(19.38, 36.42, -54.62)
CIE-LCHlch(19.38, 65.65, 303.69°)
OKLaboklab(32.08% 0.0159 -0.1579)
OKLCHoklch(32.08% 0.159 275.7)
XYZxyz(5.1281, 2.8383, 21.0422)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D81 #7A811D
analogous
#1D4881 #241D81 #561D81
triadic
#241D81 #81241D #1D8124
tetradic
#241D81 #811D48 #7A811D #1D8156
square
#241D81 #811D48 #7A811D #1D8156
split-complementary
#241D81 #81561D #48811D
monochromatic
#08071D #16124F #241D81 #3228B3 #4E44D5

Accessibility & contrast

On white

13.39
#241D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#241D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D81
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D81#FFFFFF#000000##FFFFFF
##241D811.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003A4E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241d81;
/* rgb */ color: rgb(36, 29, 129);
/* oklch */ color: oklch(32.1% 0.159 275.7);
Tailwind
colors: {
  custom: {
    50: '#6e5ba7',
    500: '#241d81',
    950: '#000000',
  },
}
SCSS
$custom: #241d81;
$custom-light: #6e5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#241d81",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 129
  },
  "hsl": {
    "h": 244.2,
    "s": 63.291,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3208,
    "c": 0.15871,
    "h": 275.7
  },
  "luminance": 0.02839
}

Semantic roles & 50–950 ramp

primary
#241D81
secondary
#ACB446
accent
#E641DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #241D81

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

Preview Lab → · Contrast checker → · Palette generator →

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