#241C78#241C78

#241C78 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.148 H 277.2°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#241C78
RGBrgb(36, 28, 120)
HSLhsl(245, 62%, 29%)
HSVhsv(245, 77%, 47%)
CMYKcmyk(70%, 76.7%, 0%, 52.9%)
CIE-LABlab(18.19, 33.92, -50.86)
CIE-LCHlch(18.19, 61.13, 303.71°)
OKLaboklab(30.94% 0.0185 -0.1469)
OKLCHoklch(30.94% 0.148 277.2)
XYZxyz(4.5319, 2.5612, 18.0212)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C78 #70781C
analogous
#1C4278 #241C78 #521C78
triadic
#241C78 #78241C #1C7824
tetradic
#241C78 #781C42 #70781C #1C7852
square
#241C78 #781C42 #70781C #1C7852
split-complementary
#241C78 #78521C #42781C
monochromatic
#070619 #151046 #241C78 #3328AA #4A3DD2

Accessibility & contrast

On white

13.89
#241C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#241C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241C78
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C78#FFFFFF#000000##FFFFFF
##241C781.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241c78;
/* rgb */ color: rgb(36, 28, 120);
/* oklch */ color: oklch(30.9% 0.148 277.2);
Tailwind
colors: {
  custom: {
    50: '#6c5aa0',
    500: '#241c78',
    950: '#000000',
  },
}
SCSS
$custom: #241c78;
$custom-light: #6c5aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#241c78",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 245.217,
    "s": 62.162,
    "l": 29.02
  },
  "oklch": {
    "l": 0.30943,
    "c": 0.14808,
    "h": 277.2
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#241C78
secondary
#A3AC44
accent
#E543D7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #241C78

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

Preview Lab → · Contrast checker → · Palette generator →

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