#291E8A#291E8A

#291E8A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.168 H 276.9°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#291E8A
RGBrgb(41, 30, 138)
HSLhsl(246, 64%, 33%)
HSVhsv(246, 78%, 54%)
CMYKcmyk(70.3%, 78.3%, 0%, 45.9%)
CIE-LABlab(20.96, 39.39, -57.67)
CIE-LCHlch(20.96, 69.84, 304.33°)
OKLaboklab(33.58% 0.0202 -0.1667)
OKLCHoklch(33.58% 0.168 276.9)
XYZxyz(5.9647, 3.2344, 24.3498)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E8A #7F8A1E
analogous
#1E498A #291E8A #5F1E8A
triadic
#291E8A #8A291E #1E8A29
tetradic
#291E8A #8A1E49 #7F8A1E #1E8A5F
square
#291E8A #8A1E49 #7F8A1E #1E8A5F
split-complementary
#291E8A #8A5F1E #498A1E
monochromatic
#0B0825 #1A1358 #291E8A #3829BC #594BD8

Accessibility & contrast

On white

12.75
#291E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#291E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E8A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E8A#FFFFFF#000000##FFFFFF
##291E8A1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#002E88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #291e8a;
/* rgb */ color: rgb(41, 30, 138);
/* oklch */ color: oklch(33.6% 0.168 276.9);
Tailwind
colors: {
  custom: {
    50: '#725cad',
    500: '#291e8a',
    950: '#000000',
  },
}
SCSS
$custom: #291e8a;
$custom-light: #725cad;
$custom-dark: #000000;
JSON
{
  "hex": "#291e8a",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 246.111,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.16789,
    "h": 276.9
  },
  "luminance": 0.03235
}

Semantic roles & 50–950 ramp

primary
#291E8A
secondary
#AFBA4A
accent
#E741D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #291E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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