#293A9D#293A9D

#293A9D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.161 H 269.9°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#293A9D
RGBrgb(41, 58, 157)
HSLhsl(231, 59%, 39%)
HSVhsv(231, 74%, 62%)
CMYKcmyk(73.9%, 63.1%, 0%, 38.4%)
CIE-LABlab(29.24, 28.70, -55.79)
CIE-LCHlch(29.24, 62.74, 297.23°)
OKLaboklab(40.12% -0.0002 -0.1611)
OKLCHoklch(40.12% 0.161 269.9)
XYZxyz(8.5112, 5.9310, 32.5880)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293A9D #9D8C29
analogous
#29749D #293A9D #52299D
triadic
#293A9D #9D293A #3A9D29
tetradic
#293A9D #9D2974 #9D8C29 #299D52
square
#293A9D #9D2974 #9D8C29 #299D52
split-complementary
#293A9D #9D5229 #749D29
monochromatic
#10163C #1C286C #293A9D #384ECB #6979D8

Accessibility & contrast

On white

9.60
#293A9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293A9D
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293A9D#FFFFFF#000000##FFFFFF
##293A9D1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#00409B
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #293a9d;
/* rgb */ color: rgb(41, 58, 157);
/* oklch */ color: oklch(40.1% 0.161 269.9);
Tailwind
colors: {
  custom: {
    50: '#7470bb',
    500: '#293a9d',
    950: '#000000',
  },
}
SCSS
$custom: #293a9d;
$custom-light: #7470bb;
$custom-dark: #000000;
JSON
{
  "hex": "#293a9d",
  "rgb": {
    "r": 41,
    "g": 58,
    "b": 157
  },
  "hsl": {
    "h": 231.207,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.16114,
    "h": 269.9
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#293A9D
secondary
#BEB164
accent
#CB46E2
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #293A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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