#293591#293591

#293591 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.151 H 271.5°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#293591
RGBrgb(41, 53, 145)
HSLhsl(233, 56%, 36%)
HSVhsv(233, 72%, 57%)
CMYKcmyk(71.7%, 63.4%, 0%, 43.1%)
CIE-LABlab(26.91, 27.55, -52.25)
CIE-LCHlch(26.91, 59.07, 297.80°)
OKLaboklab(38.08% 0.0038 -0.1508)
OKLCHoklch(38.08% 0.151 271.5)
XYZxyz(7.2967, 5.0612, 27.3750)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293591 #918529
analogous
#296991 #293591 #512991
triadic
#293591 #912935 #359129
tetradic
#293591 #912969 #918529 #299151
square
#293591 #912969 #918529 #299151
split-complementary
#293591 #915129 #699129
monochromatic
#0E1232 #1C2461 #293591 #3646C1 #626FD3

Accessibility & contrast

On white

10.44
#293591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#293591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293591
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293591#FFFFFF#000000##FFFFFF
##2935911.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293591;
/* rgb */ color: rgb(41, 53, 145);
/* oklch */ color: oklch(38.1% 0.151 271.5);
Tailwind
colors: {
  custom: {
    50: '#726cb2',
    500: '#293591',
    950: '#000000',
  },
}
SCSS
$custom: #293591;
$custom-light: #726cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#293591",
  "rgb": {
    "r": 41,
    "g": 53,
    "b": 145
  },
  "hsl": {
    "h": 233.077,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38083,
    "c": 0.15087,
    "h": 271.5
  },
  "luminance": 0.05062
}

Semantic roles & 50–950 ramp

primary
#293591
secondary
#B8AE5D
accent
#CE49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293591

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

Preview Lab → · Contrast checker → · Palette generator →

#293591 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva