#291BA0#291BA0

#291BA0 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.7% C 0.197 H 274.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#291BA0
RGBrgb(41, 27, 160)
HSLhsl(246, 71%, 37%)
HSVhsv(246, 83%, 63%)
CMYKcmyk(74.4%, 83.1%, 0%, 37.3%)
CIE-LABlab(22.97, 47.88, -67.93)
CIE-LCHlch(22.97, 83.11, 305.18°)
OKLaboklab(35.73% 0.0156 -0.1964)
OKLCHoklch(35.73% 0.197 274.5)
XYZxyz(7.6494, 3.7926, 33.5798)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291BA0 #92A01B
analogous
#1B50A0 #291BA0 #6C1BA0
triadic
#291BA0 #A0291B #1BA029
tetradic
#291BA0 #A01B50 #92A01B #1BA06C
square
#291BA0 #A01B50 #92A01B #1BA06C
split-complementary
#291BA0 #A06C1B #50A01B
monochromatic
#0E0937 #1C126C #291BA0 #3624D4 #6253E2

Accessibility & contrast

On white

11.94
#291BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#291BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291BA0
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291BA0#FFFFFF#000000##FFFFFF
##291BA01.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00319E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #291ba0;
/* rgb */ color: rgb(41, 27, 160);
/* oklch */ color: oklch(35.7% 0.197 274.5);
Tailwind
colors: {
  custom: {
    50: '#785cbd',
    500: '#291ba0',
    950: '#000000',
  },
}
SCSS
$custom: #291ba0;
$custom-light: #785cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#291ba0",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 246.316,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.19704,
    "h": 274.5
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#291BA0
secondary
#B9C552
accent
#EE3ADB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #291BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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