#293F91#293F91

#293F91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.138 H 268.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#293F91
RGBrgb(41, 63, 145)
HSLhsl(227, 56%, 36%)
HSVhsv(227, 72%, 57%)
CMYKcmyk(71.7%, 56.6%, 0%, 43.1%)
CIE-LABlab(29.59, 20.79, -47.89)
CIE-LCHlch(29.59, 52.20, 293.47°)
OKLaboklab(40.08% -0.0043 -0.1379)
OKLCHoklch(40.08% 0.138 268.2)
XYZxyz(7.8010, 6.0700, 27.5431)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293F91 #917B29
analogous
#297391 #293F91 #472991
triadic
#293F91 #91293F #3F9129
tetradic
#293F91 #912973 #917B29 #299147
square
#293F91 #912973 #917B29 #299147
split-complementary
#293F91 #914729 #739129
monochromatic
#0E1632 #1C2A61 #293F91 #3654C1 #627AD3

Accessibility & contrast

On white

9.48
#293F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#293F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293F91
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293F91#FFFFFF#000000##FFFFFF
##293F911.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #293f91;
/* rgb */ color: rgb(41, 63, 145);
/* oklch */ color: oklch(40.1% 0.138 268.2);
Tailwind
colors: {
  custom: {
    50: '#7173b2',
    500: '#293f91',
    950: '#000000',
  },
}
SCSS
$custom: #293f91;
$custom-light: #7173b2;
$custom-dark: #000000;
JSON
{
  "hex": "#293f91",
  "rgb": {
    "r": 41,
    "g": 63,
    "b": 145
  },
  "hsl": {
    "h": 227.308,
    "s": 55.914,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40078,
    "c": 0.13794,
    "h": 268.2
  },
  "luminance": 0.06071
}

Semantic roles & 50–950 ramp

primary
#293F91
secondary
#B8A55D
accent
#BF49DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #293F91

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

Preview Lab → · Contrast checker → · Palette generator →

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