#293996#293996

#293996 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.153 H 270.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#293996
RGBrgb(41, 57, 150)
HSLhsl(231, 57%, 37%)
HSVhsv(231, 73%, 59%)
CMYKcmyk(72.7%, 62%, 0%, 41.2%)
CIE-LABlab(28.38, 26.75, -52.92)
CIE-LCHlch(28.38, 59.30, 296.81°)
OKLaboklab(39.3% 0.0007 -0.1527)
OKLCHoklch(39.3% 0.153 270.2)
XYZxyz(7.8807, 5.5989, 29.5136)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293996 #968629
analogous
#296F96 #293996 #502996
triadic
#293996 #962939 #399629
tetradic
#293996 #96296F #968629 #299650
square
#293996 #96296F #968629 #299650
split-complementary
#293996 #965029 #6F9629
monochromatic
#0F1436 #1C2766 #293996 #364BC6 #6575D5

Accessibility & contrast

On white

9.91
#293996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#293996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293996
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293996#FFFFFF#000000##FFFFFF
##2939961.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293996;
/* rgb */ color: rgb(41, 57, 150);
/* oklch */ color: oklch(39.3% 0.153 270.2);
Tailwind
colors: {
  custom: {
    50: '#726fb6',
    500: '#293996',
    950: '#000000',
  },
}
SCSS
$custom: #293996;
$custom-light: #726fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#293996",
  "rgb": {
    "r": 41,
    "g": 57,
    "b": 150
  },
  "hsl": {
    "h": 231.193,
    "s": 57.068,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39301,
    "c": 0.15275,
    "h": 270.2
  },
  "luminance": 0.056
}

Semantic roles & 50–950 ramp

primary
#293996
secondary
#BBAD60
accent
#CA47E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293996

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

Preview Lab → · Contrast checker → · Palette generator →

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