#293897#293897

#293897 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.155 H 270.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#293897
RGBrgb(41, 56, 151)
HSLhsl(232, 57%, 38%)
HSVhsv(232, 73%, 59%)
CMYKcmyk(72.8%, 62.9%, 0%, 40.8%)
CIE-LABlab(28.20, 27.79, -53.82)
CIE-LCHlch(28.20, 60.57, 297.31°)
OKLaboklab(39.2% 0.0014 -0.1554)
OKLCHoklch(39.2% 0.155 270.5)
XYZxyz(7.9126, 5.5333, 29.9232)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293897 #978829
analogous
#296F97 #293897 #512997
triadic
#293897 #972938 #389729
tetradic
#293897 #97296F #978829 #299751
square
#293897 #97296F #978829 #299751
split-complementary
#293897 #975129 #6F9729
monochromatic
#0F1437 #1C2667 #293897 #364AC7 #6574D5

Accessibility & contrast

On white

9.97
#293897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#293897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293897
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293897#FFFFFF#000000##FFFFFF
##2938971.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#003E95
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293897;
/* rgb */ color: rgb(41, 56, 151);
/* oklch */ color: oklch(39.2% 0.155 270.5);
Tailwind
colors: {
  custom: {
    50: '#736eb6',
    500: '#293897',
    950: '#000000',
  },
}
SCSS
$custom: #293897;
$custom-light: #736eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#293897",
  "rgb": {
    "r": 41,
    "g": 56,
    "b": 151
  },
  "hsl": {
    "h": 231.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.1554,
    "h": 270.5
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#293897
secondary
#BBAF61
accent
#CC47E1
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #293897

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

Preview Lab → · Contrast checker → · Palette generator →

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