#291E70#291E70

#291E70 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.134 H 281.2°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#291E70
RGBrgb(41, 30, 112)
HSLhsl(248, 58%, 28%)
HSVhsv(248, 73%, 44%)
CMYKcmyk(63.4%, 73.2%, 0%, 56.1%)
CIE-LABlab(18.23, 30.65, -45.63)
CIE-LCHlch(18.23, 54.96, 303.89°)
OKLaboklab(30.83% 0.026 -0.1315)
OKLCHoklch(30.83% 0.134 281.2)
XYZxyz(4.3024, 2.5695, 15.5953)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E70 #65701E
analogous
#1E3C70 #291E70 #521E70
triadic
#291E70 #70291E #1E7029
tetradic
#291E70 #701E3C #65701E #1E7052
square
#291E70 #701E3C #65701E #1E7052
split-complementary
#291E70 #70521E #3C701E
monochromatic
#090618 #171140 #291E70 #3B2BA0 #503DCB

Accessibility & contrast

On white

13.87
#291E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E70
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E70#FFFFFF#000000##FFFFFF
##291E701.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F72
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291e70;
/* rgb */ color: rgb(41, 30, 112);
/* oklch */ color: oklch(30.8% 0.134 281.2);
Tailwind
colors: {
  custom: {
    50: '#6c5b9a',
    500: '#291e70',
    950: '#000000',
  },
}
SCSS
$custom: #291e70;
$custom-light: #6c5b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#291e70",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 248.049,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30828,
    "c": 0.13403,
    "h": 281.2
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#291E70
secondary
#97A446
accent
#E147CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040E
muted
#7A797E

Preview Lab

Preview with #291E70

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

Preview Lab → · Contrast checker → · Palette generator →

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