#293393#293393

#293393 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.156 H 271.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#293393
RGBrgb(41, 51, 147)
HSLhsl(234, 56%, 37%)
HSVhsv(234, 72%, 58%)
CMYKcmyk(72.1%, 65.3%, 0%, 42.4%)
CIE-LABlab(26.58, 29.62, -54.02)
CIE-LCHlch(26.58, 61.61, 298.74°)
OKLaboklab(37.89% 0.0052 -0.156)
OKLCHoklch(37.89% 0.156 271.9)
XYZxyz(7.3630, 4.9449, 28.1645)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293393 #938929
analogous
#296893 #293393 #542993
triadic
#293393 #932933 #339329
tetradic
#293393 #932968 #938929 #299354
square
#293393 #932968 #938929 #299354
split-complementary
#293393 #935429 #689329
monochromatic
#0E1233 #1C2263 #293393 #3644C3 #636ED3

Accessibility & contrast

On white

10.56
#293393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#293393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293393
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293393#FFFFFF#000000##FFFFFF
##2933931.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#003A91
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293393;
/* rgb */ color: rgb(41, 51, 147);
/* oklch */ color: oklch(37.9% 0.156 271.9);
Tailwind
colors: {
  custom: {
    50: '#726ab4',
    500: '#293393',
    950: '#000000',
  },
}
SCSS
$custom: #293393;
$custom-light: #726ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#293393",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 147
  },
  "hsl": {
    "h": 234.34,
    "s": 56.383,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37894,
    "c": 0.15612,
    "h": 271.9
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#293393
secondary
#B9B15E
accent
#D148E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293393

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

Preview Lab → · Contrast checker → · Palette generator →

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