#291A75#291A75

#291A75 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.145 H 281.1°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#291A75
RGBrgb(41, 26, 117)
HSLhsl(250, 64%, 28%)
HSVhsv(250, 78%, 46%)
CMYKcmyk(65%, 77.8%, 0%, 54.1%)
CIE-LABlab(17.89, 34.71, -49.41)
CIE-LCHlch(17.89, 60.38, 305.09°)
OKLaboklab(30.74% 0.028 -0.1425)
OKLCHoklch(30.74% 0.145 281.1)
XYZxyz(4.4937, 2.4942, 17.0708)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A75 #66751A
analogous
#1A3875 #291A75 #561A75
triadic
#291A75 #75291A #1A7529
tetradic
#291A75 #751A38 #66751A #1A7556
square
#291A75 #751A38 #66751A #1A7556
split-complementary
#291A75 #75561A #38751A
monochromatic
#090619 #170F43 #291A75 #3B25A7 #5137D3

Accessibility & contrast

On white

14.01
#291A75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#291A75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A75
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A75#FFFFFF#000000##FFFFFF
##291A751.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291a75;
/* rgb */ color: rgb(41, 26, 117);
/* oklch */ color: oklch(30.7% 0.145 281.1);
Tailwind
colors: {
  custom: {
    50: '#6e599e',
    500: '#291a75',
    950: '#000000',
  },
}
SCSS
$custom: #291a75;
$custom-light: #6e599e;
$custom-dark: #000000;
JSON
{
  "hex": "#291a75",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 117
  },
  "hsl": {
    "h": 249.89,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30743,
    "c": 0.14526,
    "h": 281.1
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#291A75
secondary
#98AA41
accent
#E741CB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #291A75

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

Preview Lab → · Contrast checker → · Palette generator →

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