#291E75#291E75

#291E75 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.141 H 280.2°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#291E75
RGBrgb(41, 30, 117)
HSLhsl(248, 59%, 29%)
HSVhsv(248, 74%, 46%)
CMYKcmyk(65%, 74.4%, 0%, 54.1%)
CIE-LABlab(18.73, 32.36, -48.03)
CIE-LCHlch(18.73, 57.91, 303.97°)
OKLaboklab(31.34% 0.025 -0.1385)
OKLCHoklch(31.34% 0.141 280.2)
XYZxyz(4.5886, 2.6840, 17.1024)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291E75 #6A751E
analogous
#1E3F75 #291E75 #551E75
triadic
#291E75 #75291E #1E7529
tetradic
#291E75 #751E3F #6A751E #1E7555
square
#291E75 #751E3F #6A751E #1E7555
split-complementary
#291E75 #75551E #3F751E
monochromatic
#090618 #181244 #291E75 #3A2AA6 #5240CE

Accessibility & contrast

On white

13.66
#291E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #291E75
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291E75#FFFFFF#000000##FFFFFF
##291E751.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #291e75;
/* rgb */ color: rgb(41, 30, 117);
/* oklch */ color: oklch(31.3% 0.141 280.2);
Tailwind
colors: {
  custom: {
    50: '#6d5b9e',
    500: '#291e75',
    950: '#000000',
  },
}
SCSS
$custom: #291e75;
$custom-light: #6d5b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#291e75",
  "rgb": {
    "r": 41,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 247.586,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31338,
    "c": 0.14076,
    "h": 280.2
  },
  "luminance": 0.02684
}

Semantic roles & 50–950 ramp

primary
#291E75
secondary
#9CA946
accent
#E245CF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #291E75

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

Preview Lab → · Contrast checker → · Palette generator →

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