#293791#293791

#293791 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.148 H 270.9°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#293791
RGBrgb(41, 55, 145)
HSLhsl(232, 56%, 36%)
HSVhsv(232, 72%, 57%)
CMYKcmyk(71.7%, 62.1%, 0%, 43.1%)
CIE-LABlab(27.43, 26.21, -51.40)
CIE-LCHlch(27.43, 57.70, 297.02°)
OKLaboklab(38.47% 0.0023 -0.1483)
OKLCHoklch(38.47% 0.148 270.9)
XYZxyz(7.3897, 5.2474, 27.4060)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293791 #918329
analogous
#296B91 #293791 #4F2991
triadic
#293791 #912937 #379129
tetradic
#293791 #91296B #918329 #29914F
square
#293791 #91296B #918329 #29914F
split-complementary
#293791 #914F29 #6B9129
monochromatic
#0E1332 #1C2561 #293791 #3649C1 #6271D3

Accessibility & contrast

On white

10.25
#293791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#293791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293791
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293791#FFFFFF#000000##FFFFFF
##2937911.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004694
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #293791;
/* rgb */ color: rgb(41, 55, 145);
/* oklch */ color: oklch(38.5% 0.148 270.9);
Tailwind
colors: {
  custom: {
    50: '#716db2',
    500: '#293791',
    950: '#000000',
  },
}
SCSS
$custom: #293791;
$custom-light: #716db2;
$custom-dark: #000000;
JSON
{
  "hex": "#293791",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 231.923,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38466,
    "c": 0.14833,
    "h": 270.9
  },
  "luminance": 0.05248
}

Semantic roles & 50–950 ramp

primary
#293791
secondary
#B8AC5D
accent
#CB49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293791

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

Preview Lab → · Contrast checker → · Palette generator →

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