#293397#293397

#293397 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.162 H 271.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#293397
RGBrgb(41, 51, 151)
HSLhsl(235, 57%, 38%)
HSVhsv(235, 73%, 59%)
CMYKcmyk(72.8%, 66.2%, 0%, 40.8%)
CIE-LABlab(26.94, 31.09, -55.88)
CIE-LCHlch(26.94, 63.95, 299.09°)
OKLaboklab(38.27% 0.005 -0.1615)
OKLCHoklch(38.27% 0.162 271.8)
XYZxyz(7.6823, 5.0727, 29.8464)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293397 #978D29
analogous
#296A97 #293397 #562997
triadic
#293397 #972933 #339729
tetradic
#293397 #97296A #978D29 #299756
square
#293397 #97296A #978D29 #299756
split-complementary
#293397 #975629 #6A9729
monochromatic
#0F1237 #1C2367 #293397 #3643C7 #656FD5

Accessibility & contrast

On white

10.42
#293397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293397
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293397#FFFFFF#000000##FFFFFF
##2933971.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003B95
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293397;
/* rgb */ color: rgb(41, 51, 151);
/* oklch */ color: oklch(38.3% 0.162 271.8);
Tailwind
colors: {
  custom: {
    50: '#736bb7',
    500: '#293397',
    950: '#000000',
  },
}
SCSS
$custom: #293397;
$custom-light: #736bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#293397",
  "rgb": {
    "r": 41,
    "g": 51,
    "b": 151
  },
  "hsl": {
    "h": 234.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.16156,
    "h": 271.8
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #293397

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

Preview Lab → · Contrast checker → · Palette generator →

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