#291A7C#291A7C

#291A7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.154 H 279.8°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#291A7C
RGBrgb(41, 26, 124)
HSLhsl(249, 65%, 29%)
HSVhsv(249, 79%, 49%)
CMYKcmyk(66.9%, 79%, 0%, 51.4%)
CIE-LABlab(18.65, 37.00, -52.65)
CIE-LCHlch(18.65, 64.35, 305.10°)
OKLaboklab(31.5% 0.0262 -0.152)
OKLCHoklch(31.5% 0.154 279.8)
XYZxyz(4.9208, 2.6651, 19.3200)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291A7C #6D7C1A
analogous
#1A3C7C #291A7C #5A1A7C
triadic
#291A7C #7C291A #1A7C29
tetradic
#291A7C #7C1A3C #6D7C1A #1A7C5A
square
#291A7C #7C1A3C #6D7C1A #1A7C5A
split-complementary
#291A7C #7C5A1A #3C7C1A
monochromatic
#080519 #180F49 #291A7C #3A25AF #523BD6

Accessibility & contrast

On white

13.70
#291A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#291A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291A7C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291A7C#FFFFFF#000000##FFFFFF
##291A7C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002A7A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #291a7c;
/* rgb */ color: rgb(41, 26, 124);
/* oklch */ color: oklch(31.5% 0.154 279.8);
Tailwind
colors: {
  custom: {
    50: '#6f59a3',
    500: '#291a7c',
    950: '#000000',
  },
}
SCSS
$custom: #291a7c;
$custom-light: #6f59a3;
$custom-dark: #000000;
JSON
{
  "hex": "#291a7c",
  "rgb": {
    "r": 41,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 249.184,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.31503,
    "c": 0.15421,
    "h": 279.8
  },
  "luminance": 0.02665
}

Semantic roles & 50–950 ramp

primary
#291A7C
secondary
#9FB042
accent
#E840CE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #291A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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