#293D8F#293D8F

#293D8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.138 H 268.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#293D8F
RGBrgb(41, 61, 143)
HSLhsl(228, 55%, 36%)
HSVhsv(228, 71%, 56%)
CMYKcmyk(71.3%, 57.3%, 0%, 43.9%)
CIE-LABlab(28.88, 21.39, -47.81)
CIE-LCHlch(28.88, 52.37, 294.10°)
OKLaboklab(39.5% -0.0027 -0.1377)
OKLCHoklch(39.5% 0.138 268.9)
XYZxyz(7.5394, 5.7913, 26.7018)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D8F #8F7B29
analogous
#29708F #293D8F #48298F
triadic
#293D8F #8F293D #3D8F29
tetradic
#293D8F #8F2970 #8F7B29 #298F48
square
#293D8F #8F2970 #8F7B29 #298F48
split-complementary
#293D8F #8F4829 #708F29
monochromatic
#0E1430 #1B295F #293D8F #3751BF #6177D2

Accessibility & contrast

On white

9.73
#293D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#293D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D8F
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D8F#FFFFFF#000000##FFFFFF
##293D8F1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293d8f;
/* rgb */ color: rgb(41, 61, 143);
/* oklch */ color: oklch(39.5% 0.138 268.9);
Tailwind
colors: {
  custom: {
    50: '#7172b0',
    500: '#293d8f',
    950: '#000000',
  },
}
SCSS
$custom: #293d8f;
$custom-light: #7172b0;
$custom-dark: #000000;
JSON
{
  "hex": "#293d8f",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 143
  },
  "hsl": {
    "h": 228.235,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39497,
    "c": 0.1377,
    "h": 268.9
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#293D8F
secondary
#B7A65C
accent
#C149DF
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080711
muted
#7B7A80

Preview Lab

Preview with #293D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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