#291EA0#291EA0

#291EA0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 36.1% C 0.195 H 274.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#291EA0
RGBrgb(41, 30, 160)
HSLhsl(245, 68%, 37%)
HSVhsv(245, 81%, 63%)
CMYKcmyk(74.4%, 81.3%, 0%, 37.3%)
CIE-LABlab(23.46, 46.45, -67.12)
CIE-LCHlch(23.46, 81.63, 304.69°)
OKLaboklab(36.07% 0.0146 -0.1941)
OKLCHoklch(36.07% 0.195 274.3)
XYZxyz(7.7218, 3.9372, 33.6039)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291EA0 #95A01E
analogous
#1E54A0 #291EA0 #6A1EA0
triadic
#291EA0 #A0291E #1EA029
tetradic
#291EA0 #A01E54 #95A01E #1EA06A
square
#291EA0 #A01E54 #95A01E #1EA06A
split-complementary
#291EA0 #A06A1E #54A01E
monochromatic
#0F0B39 #1C146C #291EA0 #3628D4 #6459E0

Accessibility & contrast

On white

11.75
#291EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#291EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291EA0
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291EA0#FFFFFF#000000##FFFFFF
##291EA01.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00329E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #291ea0;
/* rgb */ color: rgb(41, 30, 160);
/* oklch */ color: oklch(36.1% 0.195 274.3);
Tailwind
colors: {
  custom: {
    50: '#775ebd',
    500: '#291ea0',
    950: '#000000',
  },
}
SCSS
$custom: #291ea0;
$custom-light: #775ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#291ea0",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 245.077,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36068,
    "c": 0.19466,
    "h": 274.3
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#291EA0
secondary
#BAC456
accent
#EB3DDC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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