#293396#293396

#293396 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.160 H 271.8°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#293396
RGBrgb(41, 51, 150)
HSLhsl(234, 57%, 37%)
HSVhsv(234, 73%, 59%)
CMYKcmyk(72.7%, 66%, 0%, 41.2%)
CIE-LABlab(26.85, 30.73, -55.42)
CIE-LCHlch(26.85, 63.37, 299.00°)
OKLaboklab(38.18% 0.0051 -0.1601)
OKLCHoklch(38.18% 0.16 271.8)
XYZxyz(7.6014, 5.0403, 29.4205)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293396 #968C29
analogous
#296A96 #293396 #552996
triadic
#293396 #962933 #339629
tetradic
#293396 #96296A #968C29 #299655
square
#293396 #96296A #968C29 #299655
split-complementary
#293396 #965529 #6A9629
monochromatic
#0F1236 #1C2366 #293396 #3643C6 #656FD5

Accessibility & contrast

On white

10.46
#293396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#293396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293396
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293396#FFFFFF#000000##FFFFFF
##2933961.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293396;
/* rgb */ color: rgb(41, 51, 150);
/* oklch */ color: oklch(38.2% 0.160 271.8);
Tailwind
colors: {
  custom: {
    50: '#736bb6',
    500: '#293396',
    950: '#000000',
  },
}
SCSS
$custom: #293396;
$custom-light: #736bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#293396",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 150
  },
  "hsl": {
    "h": 234.495,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38177,
    "c": 0.16021,
    "h": 271.8
  },
  "luminance": 0.05041
}

Semantic roles & 50–950 ramp

primary
#293396
secondary
#BBB260
accent
#D247E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293396

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

Preview Lab → · Contrast checker → · Palette generator →

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