#291B72#291B72

#291B72 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.140 H 281.5°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#291B72
RGBrgb(41, 27, 114)
HSLhsl(250, 62%, 28%)
HSVhsv(250, 76%, 45%)
CMYKcmyk(64%, 76.3%, 0%, 55.3%)
CIE-LABlab(17.78, 33.14, -47.66)
CIE-LCHlch(17.78, 58.04, 304.81°)
OKLaboklab(30.57% 0.028 -0.1374)
OKLCHoklch(30.57% 0.14 281.5)
XYZxyz(4.3427, 2.4699, 16.1642)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B72 #64721B
analogous
#1B3972 #291B72 #541B72
triadic
#291B72 #72291B #1B7229
tetradic
#291B72 #721B39 #64721B #1B7254
square
#291B72 #721B39 #64721B #1B7254
split-complementary
#291B72 #72541B #39721B
monochromatic
#090619 #170F41 #291B72 #3B27A3 #5038D0

Accessibility & contrast

On white

14.06
#291B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#291B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291B72
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B72#FFFFFF#000000##FFFFFF
##291B721.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E75
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291b72;
/* rgb */ color: rgb(41, 27, 114);
/* oklch */ color: oklch(30.6% 0.140 281.5);
Tailwind
colors: {
  custom: {
    50: '#6d599b',
    500: '#291b72',
    950: '#000000',
  },
}
SCSS
$custom: #291b72;
$custom-light: #6d599b;
$custom-dark: #000000;
JSON
{
  "hex": "#291b72",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 114
  },
  "hsl": {
    "h": 249.655,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.3057,
    "c": 0.14024,
    "h": 281.5
  },
  "luminance": 0.0247
}

Semantic roles & 50–950 ramp

primary
#291B72
secondary
#96A742
accent
#E543CB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #291B72

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

Preview Lab → · Contrast checker → · Palette generator →

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