#291E6F#291E6F

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

Color values

HEX#291E6F
RGBrgb(41, 30, 111)
HSLhsl(248, 57%, 28%)
HSVhsv(248, 73%, 44%)
CMYKcmyk(63.1%, 73%, 0%, 56.5%)
CIE-LABlab(18.13, 30.31, -45.14)
CIE-LCHlch(18.13, 54.37, 303.88°)
OKLaboklab(30.73% 0.0262 -0.1301)
OKLCHoklch(30.73% 0.133 281.4)
XYZxyz(4.2471, 2.5474, 15.3037)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E6F #646F1E
analogous
#1E3C6F #291E6F #511E6F
triadic
#291E6F #6F291E #1E6F29
tetradic
#291E6F #6F1E3C #646F1E #1E6F51
square
#291E6F #6F1E3C #646F1E #1E6F51
split-complementary
#291E6F #6F511E #3C6F1E
monochromatic
#090718 #17113F #291E6F #3B2B9F #503DCB

Accessibility & contrast

On white

13.91
#291E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#291E6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291E6F
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E6F#FFFFFF#000000##FFFFFF
##291E6F1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F71
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#003444
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #291e6f;
/* rgb */ color: rgb(41, 30, 111);
/* oklch */ color: oklch(30.7% 0.133 281.4);
Tailwind
colors: {
  custom: {
    50: '#6c5b99',
    500: '#291e6f',
    950: '#000000',
  },
}
SCSS
$custom: #291e6f;
$custom-light: #6c5b99;
$custom-dark: #000000;
JSON
{
  "hex": "#291e6f",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 111
  },
  "hsl": {
    "h": 248.148,
    "s": 57.447,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30727,
    "c": 0.13267,
    "h": 281.4
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#291E6F
secondary
#96A346
accent
#E147CC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #291E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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