#241A87#241A87

#241A87 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.169 H 275.4°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#241A87
RGBrgb(36, 26, 135)
HSLhsl(246, 68%, 32%)
HSVhsv(246, 81%, 53%)
CMYKcmyk(73.3%, 80.7%, 0%, 47.1%)
CIE-LABlab(19.48, 40.07, -58.24)
CIE-LCHlch(19.48, 70.70, 304.53°)
OKLaboklab(32.35% 0.0159 -0.1684)
OKLCHoklch(32.35% 0.169 275.4)
XYZxyz(5.4687, 2.8626, 23.1813)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A87 #7D871A
analogous
#1A4787 #241A87 #5B1A87
triadic
#241A87 #87241A #1A8724
tetradic
#241A87 #871A47 #7D871A #1A875B
square
#241A87 #871A47 #7D871A #1A875B
split-complementary
#241A87 #875B1A #47871A
monochromatic
#090620 #161054 #241A87 #3224BA #4F41DA

Accessibility & contrast

On white

13.35
#241A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241A87
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A87#FFFFFF#000000##FFFFFF
##241A871.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348A
Deuteranopia (green-blind)
#002A85
Tritanopia (blue-blind)
#003B50
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #241a87;
/* rgb */ color: rgb(36, 26, 135);
/* oklch */ color: oklch(32.4% 0.169 275.4);
Tailwind
colors: {
  custom: {
    50: '#7059ab',
    500: '#241a87',
    950: '#000000',
  },
}
SCSS
$custom: #241a87;
$custom-light: #7059ab;
$custom-dark: #000000;
JSON
{
  "hex": "#241a87",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 245.505,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32352,
    "c": 0.16915,
    "h": 275.4
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#241A87
secondary
#AFBA42
accent
#EB3DDB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #241A87

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

Preview Lab → · Contrast checker → · Palette generator →

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