#291FB3#291FB3

#291FB3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.4% C 0.216 H 272.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#291FB3
RGBrgb(41, 31, 179)
HSLhsl(244, 70%, 41%)
HSVhsv(244, 83%, 70%)
CMYKcmyk(77.1%, 82.7%, 0%, 29.8%)
CIE-LABlab(25.88, 51.85, -74.58)
CIE-LCHlch(25.88, 90.83, 304.81°)
OKLaboklab(38.39% 0.0094 -0.2158)
OKLCHoklch(38.39% 0.216 272.5)
XYZxyz(9.5384, 4.7050, 43.0445)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#291FB3 #A9B31F
analogous
#1F5FB3 #291FB3 #731FB3
triadic
#291FB3 #B3291F #1FB329
tetradic
#291FB3 #B31F5F #A9B31F #1FB373
square
#291FB3 #B31F5F #A9B31F #1FB373
split-complementary
#291FB3 #B3731F #5FB31F
monochromatic
#110D4B #1D167F #291FB3 #3F33DC #7068E5

Accessibility & contrast

On white

10.82
#291FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#291FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #291FB3
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##291FB3#FFFFFF#000000##FFFFFF
##291FB31.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0036B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #291fb3;
/* rgb */ color: rgb(41, 31, 179);
/* oklch */ color: oklch(38.4% 0.216 272.5);
Tailwind
colors: {
  custom: {
    50: '#7c60cb',
    500: '#291fb3',
    950: '#000000',
  },
}
SCSS
$custom: #291fb3;
$custom-light: #7c60cb;
$custom-dark: #000000;
JSON
{
  "hex": "#291fb3",
  "rgb": {
    "r": 41,
    "g": 31,
    "b": 179
  },
  "hsl": {
    "h": 244.054,
    "s": 70.476,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38393,
    "c": 0.21597,
    "h": 272.5
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#291FB3
secondary
#C3CA64
accent
#ED3BE1
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #291FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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