#241A78#241A78

#241A78 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.150 H 277.6°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#241A78
RGBrgb(36, 26, 120)
HSLhsl(246, 64%, 29%)
HSVhsv(246, 78%, 47%)
CMYKcmyk(70%, 78.3%, 0%, 52.9%)
CIE-LABlab(17.78, 35.09, -51.54)
CIE-LCHlch(17.78, 62.35, 304.25°)
OKLaboklab(30.65% 0.0197 -0.1489)
OKLCHoklch(30.65% 0.15 277.6)
XYZxyz(4.4860, 2.4695, 18.0059)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241A78 #6E781A
analogous
#1A3F78 #241A78 #531A78
triadic
#241A78 #78241A #1A7824
tetradic
#241A78 #781A3F #6E781A #1A7853
square
#241A78 #781A3F #6E781A #1A7853
split-complementary
#241A78 #78531A #3F781A
monochromatic
#080519 #150F46 #241A78 #3325AA #4938D4

Accessibility & contrast

On white

14.06
#241A78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#241A78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241A78
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241A78#FFFFFF#000000##FFFFFF
##241A781.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7B
Deuteranopia (green-blind)
#002876
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #241a78;
/* rgb */ color: rgb(36, 26, 120);
/* oklch */ color: oklch(30.7% 0.150 277.6);
Tailwind
colors: {
  custom: {
    50: '#6c58a0',
    500: '#241a78',
    950: '#000000',
  },
}
SCSS
$custom: #241a78;
$custom-light: #6c58a0;
$custom-dark: #000000;
JSON
{
  "hex": "#241a78",
  "rgb": {
    "r": 36,
    "g": 26,
    "b": 120
  },
  "hsl": {
    "h": 246.383,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30652,
    "c": 0.15019,
    "h": 277.6
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#241A78
secondary
#A1AC41
accent
#E740D6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #241A78

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

Preview Lab → · Contrast checker → · Palette generator →

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