#241C79#241C79

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

Color values

HEX#241C79
RGBrgb(36, 28, 121)
HSLhsl(245, 62%, 29%)
HSVhsv(245, 77%, 47%)
CMYKcmyk(70.2%, 76.9%, 0%, 52.5%)
CIE-LABlab(18.30, 34.27, -51.32)
CIE-LCHlch(18.30, 61.71, 303.73°)
OKLaboklab(31.05% 0.0183 -0.1483)
OKLCHoklch(31.05% 0.149 277)
XYZxyz(4.5929, 2.5856, 18.3425)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241C79 #71791C
analogous
#1C4379 #241C79 #531C79
triadic
#241C79 #79241C #1C7924
tetradic
#241C79 #791C43 #71791C #1C7953
square
#241C79 #791C43 #71791C #1C7953
split-complementary
#241C79 #79531C #43791C
monochromatic
#070619 #151047 #241C79 #3328AB #4A3DD2

Accessibility & contrast

On white

13.84
#241C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #241C79
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241C79#FFFFFF#000000##FFFFFF
##241C791.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002977
Tritanopia (blue-blind)
#003749
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #241c79;
/* rgb */ color: rgb(36, 28, 121);
/* oklch */ color: oklch(31.1% 0.149 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c5aa1',
    500: '#241c79',
    950: '#000000',
  },
}
SCSS
$custom: #241c79;
$custom-light: #6c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#241c79",
  "rgb": {
    "r": 36,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 245.161,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31053,
    "c": 0.14939,
    "h": 277
  },
  "luminance": 0.02586
}

Semantic roles & 50–950 ramp

primary
#241C79
secondary
#A4AD44
accent
#E542D7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08040F
muted
#7B797F

Preview Lab

Preview with #241C79

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

Preview Lab → · Contrast checker → · Palette generator →

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