#291EB3#291EB3

#291EB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.3% C 0.217 H 272.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#291EB3
RGBrgb(41, 30, 179)
HSLhsl(244, 71%, 41%)
HSVhsv(244, 83%, 70%)
CMYKcmyk(77.1%, 83.2%, 0%, 29.8%)
CIE-LABlab(25.72, 52.30, -74.84)
CIE-LCHlch(25.72, 91.30, 304.95°)
OKLaboklab(38.29% 0.0096 -0.2165)
OKLCHoklch(38.29% 0.217 272.5)
XYZxyz(9.5127, 4.6536, 43.0360)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291EB3 #A8B31E
analogous
#1E5DB3 #291EB3 #741EB3
triadic
#291EB3 #B3291E #1EB329
tetradic
#291EB3 #B31E5D #A8B31E #1EB374
square
#291EB3 #B31E5D #A8B31E #1EB374
split-complementary
#291EB3 #B3741E #5DB31E
monochromatic
#110C4A #1D157F #291EB3 #3E32DD #6F66E5

Accessibility & contrast

On white

10.88
#291EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#291EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291EB3
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291EB3#FFFFFF#000000##FFFFFF
##291EB31.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #291eb3;
/* rgb */ color: rgb(41, 30, 179);
/* oklch */ color: oklch(38.3% 0.217 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fcb',
    500: '#291eb3',
    950: '#000000',
  },
}
SCSS
$custom: #291eb3;
$custom-light: #7c5fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#291eb3",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 179
  },
  "hsl": {
    "h": 244.43,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38287,
    "c": 0.2167,
    "h": 272.5
  },
  "luminance": 0.04655
}

Semantic roles & 50–950 ramp

primary
#291EB3
secondary
#C3CB62
accent
#EE3AE1
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #291EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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