#293E91#293E91

#293E91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 268.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#293E91
RGBrgb(41, 62, 145)
HSLhsl(228, 56%, 36%)
HSVhsv(228, 72%, 57%)
CMYKcmyk(71.7%, 57.2%, 0%, 43.1%)
CIE-LABlab(29.31, 21.47, -48.34)
CIE-LCHlch(29.31, 52.89, 293.95°)
OKLaboklab(39.87% -0.0035 -0.1392)
OKLCHoklch(39.87% 0.139 268.6)
XYZxyz(7.7462, 5.9602, 27.5248)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293E91 #917C29
analogous
#297291 #293E91 #482991
triadic
#293E91 #91293E #3E9129
tetradic
#293E91 #912972 #917C29 #299148
square
#293E91 #912972 #917C29 #299148
split-complementary
#293E91 #914829 #729129
monochromatic
#0E1532 #1C2A61 #293E91 #3652C1 #6279D3

Accessibility & contrast

On white

9.58
#293E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#293E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293E91
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293E91#FFFFFF#000000##FFFFFF
##293E911.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293e91;
/* rgb */ color: rgb(41, 62, 145);
/* oklch */ color: oklch(39.9% 0.139 268.6);
Tailwind
colors: {
  custom: {
    50: '#7172b2',
    500: '#293e91',
    950: '#000000',
  },
}
SCSS
$custom: #293e91;
$custom-light: #7172b2;
$custom-dark: #000000;
JSON
{
  "hex": "#293e91",
  "rgb": {
    "r": 41,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 227.885,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.3987,
    "c": 0.13925,
    "h": 268.6
  },
  "luminance": 0.05961
}

Semantic roles & 50–950 ramp

primary
#293E91
secondary
#B8A65D
accent
#C149DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293E91

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

Preview Lab → · Contrast checker → · Palette generator →

#293E91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva