#291F90#291F90

#291F90 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.174 H 276.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#291F90
RGBrgb(41, 31, 144)
HSLhsl(245, 65%, 34%)
HSVhsv(245, 78%, 56%)
CMYKcmyk(71.5%, 78.5%, 0%, 43.5%)
CIE-LABlab(21.82, 40.81, -60.00)
CIE-LCHlch(21.82, 72.56, 304.22°)
OKLaboklab(34.38% 0.0182 -0.1734)
OKLCHoklch(34.38% 0.174 276)
XYZxyz(6.4368, 3.4644, 26.7096)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291F90 #86901F
analogous
#1F4E90 #291F90 #621F90
triadic
#291F90 #90291F #1F9029
tetradic
#291F90 #901F4E #86901F #1F9062
square
#291F90 #901F4E #86901F #1F9062
split-complementary
#291F90 #90621F #4E901F
monochromatic
#0C092B #1B145E #291F90 #372AC2 #5C50D9

Accessibility & contrast

On white

12.40
#291F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#291F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291F90
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291F90#FFFFFF#000000##FFFFFF
##291F901.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #291f90;
/* rgb */ color: rgb(41, 31, 144);
/* oklch */ color: oklch(34.4% 0.174 276.0);
Tailwind
colors: {
  custom: {
    50: '#735db2',
    500: '#291f90',
    950: '#000000',
  },
}
SCSS
$custom: #291f90;
$custom-light: #735db2;
$custom-dark: #000000;
JSON
{
  "hex": "#291f90",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 144
  },
  "hsl": {
    "h": 245.31,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34382,
    "c": 0.1744,
    "h": 276
  },
  "luminance": 0.03465
}

Semantic roles & 50–950 ramp

primary
#291F90
secondary
#B3BC4E
accent
#E840D9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #291F90

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

Preview Lab → · Contrast checker → · Palette generator →

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