#293399#293399

#293399 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.164 H 271.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#293399
RGBrgb(41, 51, 153)
HSLhsl(235, 58%, 38%)
HSVhsv(235, 73%, 60%)
CMYKcmyk(73.2%, 66.7%, 0%, 40%)
CIE-LABlab(27.12, 31.83, -56.81)
CIE-LCHlch(27.12, 65.11, 299.26°)
OKLaboklab(38.46% 0.0048 -0.1642)
OKLCHoklch(38.46% 0.164 271.7)
XYZxyz(7.8461, 5.1382, 30.7091)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293399 #998F29
analogous
#296B99 #293399 #572999
triadic
#293399 #992933 #339929
tetradic
#293399 #99296B #998F29 #299957
square
#293399 #99296B #998F29 #299957
split-complementary
#293399 #995729 #6B9929
monochromatic
#0F1338 #1C2369 #293399 #3643C9 #6670D6

Accessibility & contrast

On white

10.36
#293399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#293399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293399
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293399#FFFFFF#000000##FFFFFF
##2933991.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293399;
/* rgb */ color: rgb(41, 51, 153);
/* oklch */ color: oklch(38.5% 0.164 271.7);
Tailwind
colors: {
  custom: {
    50: '#746bb8',
    500: '#293399',
    950: '#000000',
  },
}
SCSS
$custom: #293399;
$custom-light: #746bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#293399",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 234.643,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38463,
    "c": 0.16425,
    "h": 271.7
  },
  "luminance": 0.05139
}

Semantic roles & 50–950 ramp

primary
#293399
secondary
#BCB462
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293399

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

Preview Lab → · Contrast checker → · Palette generator →

#293399 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva