#241C81#241C81

#241C81 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.9% C 0.160 H 275.9°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#241C81
RGBrgb(36, 28, 129)
HSLhsl(245, 64%, 31%)
HSVhsv(245, 78%, 51%)
CMYKcmyk(72.1%, 78.3%, 0%, 49.4%)
CIE-LABlab(19.18, 36.99, -54.96)
CIE-LCHlch(19.18, 66.24, 303.94°)
OKLaboklab(31.94% 0.0164 -0.1589)
OKLCHoklch(31.94% 0.16 275.9)
XYZxyz(5.1040, 2.7901, 21.0342)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C81 #79811C
analogous
#1C4781 #241C81 #561C81
triadic
#241C81 #81241C #1C8124
tetradic
#241C81 #811C47 #79811C #1C8156
square
#241C81 #811C47 #79811C #1C8156
split-complementary
#241C81 #81561C #47811C
monochromatic
#08061C #16114F #241C81 #3227B3 #4D42D6

Accessibility & contrast

On white

13.48
#241C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#241C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241C81
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C81#FFFFFF#000000##FFFFFF
##241C811.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241c81;
/* rgb */ color: rgb(36, 28, 129);
/* oklch */ color: oklch(31.9% 0.160 275.9);
Tailwind
colors: {
  custom: {
    50: '#6e5aa7',
    500: '#241c81',
    950: '#000000',
  },
}
SCSS
$custom: #241c81;
$custom-light: #6e5aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#241c81",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 244.752,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31938,
    "c": 0.15972,
    "h": 275.9
  },
  "luminance": 0.02791
}

Semantic roles & 50–950 ramp

primary
#241C81
secondary
#ACB444
accent
#E740DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #241C81

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

Preview Lab → · Contrast checker → · Palette generator →

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