#291A7E#291A7E

#291A7E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.7% C 0.157 H 279.4°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#291A7E
RGBrgb(41, 26, 126)
HSLhsl(249, 66%, 30%)
HSVhsv(249, 79%, 49%)
CMYKcmyk(67.5%, 79.4%, 0%, 50.6%)
CIE-LABlab(18.87, 37.65, -53.56)
CIE-LCHlch(18.87, 65.47, 305.11°)
OKLaboklab(31.72% 0.0256 -0.1546)
OKLCHoklch(31.72% 0.157 279.4)
XYZxyz(5.0485, 2.7162, 19.9928)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A7E #6F7E1A
analogous
#1A3D7E #291A7E #5B1A7E
triadic
#291A7E #7E291A #1A7E29
tetradic
#291A7E #7E1A3D #6F7E1A #1A7E5B
square
#291A7E #7E1A3D #6F7E1A #1A7E5B
split-complementary
#291A7E #7E5B1A #3D7E1A
monochromatic
#080519 #18104B #291A7E #3A24B1 #533CD7

Accessibility & contrast

On white

13.61
#291A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#291A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A7E
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A7E#FFFFFF#000000##FFFFFF
##291A7E1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#00374B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291a7e;
/* rgb */ color: rgb(41, 26, 126);
/* oklch */ color: oklch(31.7% 0.157 279.4);
Tailwind
colors: {
  custom: {
    50: '#7059a4',
    500: '#291a7e',
    950: '#000000',
  },
}
SCSS
$custom: #291a7e;
$custom-light: #7059a4;
$custom-dark: #000000;
JSON
{
  "hex": "#291a7e",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 249,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.31723,
    "c": 0.15674,
    "h": 279.4
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#291A7E
secondary
#A1B242
accent
#E93FCF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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