#293A97#293A97

#293A97 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.6% C 0.153 H 270.0°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#293A97
RGBrgb(41, 58, 151)
HSLhsl(231, 57%, 38%)
HSVhsv(231, 73%, 59%)
CMYKcmyk(72.8%, 61.6%, 0%, 40.8%)
CIE-LABlab(28.72, 26.45, -52.97)
CIE-LCHlch(28.72, 59.21, 296.54°)
OKLaboklab(39.59% -0.0001 -0.1529)
OKLCHoklch(39.59% 0.153 270)
XYZxyz(8.0115, 5.7311, 29.9561)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A97 #978629
analogous
#297197 #293A97 #4F2997
triadic
#293A97 #97293A #3A9729
tetradic
#293A97 #972971 #978629 #29974F
square
#293A97 #972971 #978629 #29974F
split-complementary
#293A97 #974F29 #719729
monochromatic
#0F1537 #1C2867 #293A97 #364CC7 #6576D5

Accessibility & contrast

On white

9.78
#293A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#293A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293A97
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A97#FFFFFF#000000##FFFFFF
##293A971.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293a97;
/* rgb */ color: rgb(41, 58, 151);
/* oklch */ color: oklch(39.6% 0.153 270.0);
Tailwind
colors: {
  custom: {
    50: '#7370b6',
    500: '#293a97',
    950: '#000000',
  },
}
SCSS
$custom: #293a97;
$custom-light: #7370b6;
$custom-dark: #000000;
JSON
{
  "hex": "#293a97",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 151
  },
  "hsl": {
    "h": 230.727,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39585,
    "c": 0.15287,
    "h": 270
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#293A97
secondary
#BBAD61
accent
#C947E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293A97

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

Preview Lab → · Contrast checker → · Palette generator →

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