#293797#293797

#293797 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.157 H 270.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#293797
RGBrgb(41, 55, 151)
HSLhsl(232, 57%, 38%)
HSVhsv(232, 73%, 59%)
CMYKcmyk(72.8%, 63.6%, 0%, 40.8%)
CIE-LABlab(27.95, 28.46, -54.24)
CIE-LCHlch(27.95, 61.25, 297.68°)
OKLaboklab(39.01% 0.0021 -0.1566)
OKLCHoklch(39.01% 0.157 270.8)
XYZxyz(7.8647, 5.4374, 29.9072)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293797 #978929
analogous
#296E97 #293797 #522997
triadic
#293797 #972937 #379729
tetradic
#293797 #97296E #978929 #299752
square
#293797 #97296E #978929 #299752
split-complementary
#293797 #975229 #6E9729
monochromatic
#0F1437 #1C2567 #293797 #3649C7 #6573D5

Accessibility & contrast

On white

10.06
#293797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#293797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293797
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293797#FFFFFF#000000##FFFFFF
##2937971.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #293797;
/* rgb */ color: rgb(41, 55, 151);
/* oklch */ color: oklch(39.0% 0.157 270.8);
Tailwind
colors: {
  custom: {
    50: '#736db6',
    500: '#293797',
    950: '#000000',
  },
}
SCSS
$custom: #293797;
$custom-light: #736db6;
$custom-dark: #000000;
JSON
{
  "hex": "#293797",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 232.364,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3901,
    "c": 0.15664,
    "h": 270.8
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#293797
secondary
#BBB061
accent
#CD47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293797

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

Preview Lab → · Contrast checker → · Palette generator →

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