#293D97#293D97

#293D97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.149 H 269.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#293D97
RGBrgb(41, 61, 151)
HSLhsl(229, 57%, 38%)
HSVhsv(229, 73%, 59%)
CMYKcmyk(72.8%, 59.6%, 0%, 40.8%)
CIE-LABlab(29.52, 24.44, -51.67)
CIE-LCHlch(29.52, 57.16, 295.31°)
OKLaboklab(40.18% -0.0025 -0.149)
OKLCHoklch(40.18% 0.149 269.1)
XYZxyz(8.1672, 6.0424, 30.0080)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D97 #978329
analogous
#297497 #293D97 #4C2997
triadic
#293D97 #97293D #3D9729
tetradic
#293D97 #972974 #978329 #29974C
square
#293D97 #972974 #978329 #29974C
split-complementary
#293D97 #974C29 #749729
monochromatic
#0F1637 #1C2A67 #293D97 #3650C7 #657AD5

Accessibility & contrast

On white

9.51
#293D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293D97
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D97#FFFFFF#000000##FFFFFF
##293D971.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #293d97;
/* rgb */ color: rgb(41, 61, 151);
/* oklch */ color: oklch(40.2% 0.149 269.1);
Tailwind
colors: {
  custom: {
    50: '#7272b6',
    500: '#293d97',
    950: '#000000',
  },
}
SCSS
$custom: #293d97;
$custom-light: #7272b6;
$custom-dark: #000000;
JSON
{
  "hex": "#293d97",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 151
  },
  "hsl": {
    "h": 229.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40176,
    "c": 0.14905,
    "h": 269.1
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#293D97
secondary
#BBAB61
accent
#C547E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293D97

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

Preview Lab → · Contrast checker → · Palette generator →

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