#293D8D#293D8D

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

Color values

HEX#293D8D
RGBrgb(41, 61, 141)
HSLhsl(228, 55%, 36%)
HSVhsv(228, 71%, 55%)
CMYKcmyk(70.9%, 56.7%, 0%, 44.7%)
CIE-LABlab(28.72, 20.62, -46.83)
CIE-LCHlch(28.72, 51.17, 293.77°)
OKLaboklab(39.33% -0.0028 -0.1348)
OKLCHoklch(39.33% 0.135 268.8)
XYZxyz(7.3893, 5.7313, 25.9110)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D8D #8D7929
analogous
#296F8D #293D8D #47298D
triadic
#293D8D #8D293D #3D8D29
tetradic
#293D8D #8D296F #8D7929 #298D47
square
#293D8D #8D296F #8D7929 #298D47
split-complementary
#293D8D #8D4729 #6F8D29
monochromatic
#0D142E #1B285E #293D8D #3752BC #6076D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##293D8D#FFFFFF#000000##FFFFFF
##293D8D1.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)
#004890
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #293d8d;
/* rgb */ color: rgb(41, 61, 141);
/* oklch */ color: oklch(39.3% 0.135 268.8);
Tailwind
colors: {
  custom: {
    50: '#7072af',
    500: '#293d8d',
    950: '#000000',
  },
}
SCSS
$custom: #293d8d;
$custom-light: #7072af;
$custom-dark: #000000;
JSON
{
  "hex": "#293d8d",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 141
  },
  "hsl": {
    "h": 228,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.39331,
    "c": 0.13482,
    "h": 268.8
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#293D8D
secondary
#B6A45B
accent
#C14ADE
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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