#293391#293391

#293391 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.153 H 272.0°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#293391
RGBrgb(41, 51, 145)
HSLhsl(234, 56%, 36%)
HSVhsv(234, 72%, 57%)
CMYKcmyk(71.7%, 64.8%, 0%, 43.1%)
CIE-LABlab(26.40, 28.88, -53.08)
CIE-LCHlch(26.40, 60.43, 298.55°)
OKLaboklab(37.71% 0.0054 -0.1533)
OKLCHoklch(37.71% 0.153 272)
XYZxyz(7.2074, 4.8827, 27.3452)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293391 #918729
analogous
#296791 #293391 #532991
triadic
#293391 #912933 #339129
tetradic
#293391 #912967 #918729 #299153
square
#293391 #912967 #918729 #299153
split-complementary
#293391 #915329 #679129
monochromatic
#0E1132 #1C2261 #293391 #3644C1 #626DD3

Accessibility & contrast

On white

10.62
#293391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#293391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293391
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293391#FFFFFF#000000##FFFFFF
##2933911.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004B5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293391;
/* rgb */ color: rgb(41, 51, 145);
/* oklch */ color: oklch(37.7% 0.153 272.0);
Tailwind
colors: {
  custom: {
    50: '#726ab2',
    500: '#293391',
    950: '#000000',
  },
}
SCSS
$custom: #293391;
$custom-light: #726ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#293391",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 145
  },
  "hsl": {
    "h": 234.231,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37707,
    "c": 0.15337,
    "h": 272
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#293391
secondary
#B8B05D
accent
#D149DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293391

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

Preview Lab → · Contrast checker → · Palette generator →

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