#241D78#241D78

#241D78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.147 H 277.0°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#241D78
RGBrgb(36, 29, 120)
HSLhsl(245, 61%, 29%)
HSVhsv(245, 76%, 47%)
CMYKcmyk(70%, 75.8%, 0%, 52.9%)
CIE-LABlab(18.41, 33.32, -50.50)
CIE-LCHlch(18.41, 60.51, 303.42°)
OKLaboklab(31.1% 0.0178 -0.1459)
OKLCHoklch(31.1% 0.147 277)
XYZxyz(4.5560, 2.6095, 18.0292)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D78 #71781D
analogous
#1D4478 #241D78 #521D78
triadic
#241D78 #78241D #1D7824
tetradic
#241D78 #781D44 #71781D #1D7852
square
#241D78 #781D44 #71781D #1D7852
split-complementary
#241D78 #78521D #44781D
monochromatic
#070619 #151147 #241D78 #3329A9 #4A3FD1

Accessibility & contrast

On white

13.80
#241D78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#241D78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D78
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D78#FFFFFF#000000##FFFFFF
##241D781.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241d78;
/* rgb */ color: rgb(36, 29, 120);
/* oklch */ color: oklch(31.1% 0.147 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c5aa0',
    500: '#241d78',
    950: '#000000',
  },
}
SCSS
$custom: #241d78;
$custom-light: #6c5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#241d78",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 120
  },
  "hsl": {
    "h": 244.615,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31095,
    "c": 0.14699,
    "h": 277
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#241D78
secondary
#A4AC45
accent
#E444D8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #241D78

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

Preview Lab → · Contrast checker → · Palette generator →

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