#291E7C#291E7C

#291E7C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.150 H 279.0°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#291E7C
RGBrgb(41, 30, 124)
HSLhsl(247, 61%, 30%)
HSVhsv(247, 76%, 49%)
CMYKcmyk(66.9%, 75.8%, 0%, 51.4%)
CIE-LABlab(19.45, 34.73, -51.32)
CIE-LCHlch(19.45, 61.97, 304.09°)
OKLaboklab(32.07% 0.0235 -0.1481)
OKLCHoklch(32.07% 0.15 279)
XYZxyz(5.0156, 2.8548, 19.3516)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E7C #717C1E
analogous
#1E427C #291E7C #581E7C
triadic
#291E7C #7C291E #1E7C29
tetradic
#291E7C #7C1E42 #717C1E #1E7C58
square
#291E7C #7C1E42 #717C1E #1E7C58
split-complementary
#291E7C #7C581E #427C1E
monochromatic
#080619 #19124B #291E7C #392AAD #5443D1

Accessibility & contrast

On white

13.37
#291E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#291E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E7C
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E7C#FFFFFF#000000##FFFFFF
##291E7C1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #291e7c;
/* rgb */ color: rgb(41, 30, 124);
/* oklch */ color: oklch(32.1% 0.150 279.0);
Tailwind
colors: {
  custom: {
    50: '#6f5ba3',
    500: '#291e7c',
    950: '#000000',
  },
}
SCSS
$custom: #291e7c;
$custom-light: #6f5ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#291e7c",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 247.021,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.15,
    "h": 279
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#291E7C
secondary
#A3AF46
accent
#E444D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291E7C

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

Preview Lab → · Contrast checker → · Palette generator →

#291E7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva