#291B70#291B70

#291B70 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.138 H 281.9°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#291B70
RGBrgb(41, 27, 112)
HSLhsl(250, 61%, 27%)
HSVhsv(250, 76%, 44%)
CMYKcmyk(63.4%, 75.9%, 0%, 56.1%)
CIE-LABlab(17.57, 32.47, -46.70)
CIE-LCHlch(17.57, 56.88, 304.81°)
OKLaboklab(30.36% 0.0285 -0.1346)
OKLCHoklch(30.36% 0.138 281.9)
XYZxyz(4.2301, 2.4248, 15.5712)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291B70 #62701B
analogous
#1B3870 #291B70 #531B70
triadic
#291B70 #70291B #1B7029
tetradic
#291B70 #701B38 #62701B #1B7053
square
#291B70 #701B38 #62701B #1B7053
split-complementary
#291B70 #70531B #38701B
monochromatic
#090619 #170F3F #291B70 #3B27A1 #5037CF

Accessibility & contrast

On white

14.14
#291B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291B70
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291B70#FFFFFF#000000##FFFFFF
##291B701.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #291b70;
/* rgb */ color: rgb(41, 27, 112);
/* oklch */ color: oklch(30.4% 0.138 281.9);
Tailwind
colors: {
  custom: {
    50: '#6d599a',
    500: '#291b70',
    950: '#000000',
  },
}
SCSS
$custom: #291b70;
$custom-light: #6d599a;
$custom-dark: #000000;
JSON
{
  "hex": "#291b70",
  "rgb": {
    "r": 41,
    "g": 27,
    "b": 112
  },
  "hsl": {
    "h": 249.882,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.30361,
    "c": 0.1376,
    "h": 281.9
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#291B70
secondary
#95A542
accent
#E444CA
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #291B70

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

Preview Lab → · Contrast checker → · Palette generator →

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