#241D79#241D79

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

Color values

HEX#241D79
RGBrgb(36, 29, 121)
HSLhsl(245, 61%, 29%)
HSVhsv(245, 76%, 47%)
CMYKcmyk(70.2%, 76%, 0%, 52.5%)
CIE-LABlab(18.51, 33.67, -50.97)
CIE-LCHlch(18.51, 61.08, 303.45°)
OKLaboklab(31.2% 0.0176 -0.1472)
OKLCHoklch(31.2% 0.148 276.8)
XYZxyz(4.6170, 2.6339, 18.3505)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241D79 #72791D
analogous
#1D4479 #241D79 #521D79
triadic
#241D79 #79241D #1D7924
tetradic
#241D79 #791D44 #72791D #1D7952
square
#241D79 #791D44 #72791D #1D7952
split-complementary
#241D79 #79521D #44791D
monochromatic
#070619 #151148 #241D79 #3329AA #4A3FD1

Accessibility & contrast

On white

13.75
#241D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#241D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241D79
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241D79#FFFFFF#000000##FFFFFF
##241D791.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #241d79;
/* rgb */ color: rgb(36, 29, 121);
/* oklch */ color: oklch(31.2% 0.148 276.8);
Tailwind
colors: {
  custom: {
    50: '#6c5aa1',
    500: '#241d79',
    950: '#000000',
  },
}
SCSS
$custom: #241d79;
$custom-light: #6c5aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#241d79",
  "rgb": {
    "r": 36,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 244.565,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31203,
    "c": 0.1483,
    "h": 276.8
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#241D79
secondary
#A5AD45
accent
#E443D8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08040F
muted
#7A797F

Preview Lab

Preview with #241D79

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

Preview Lab → · Contrast checker → · Palette generator →

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