#293497#293497

#293497 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.5% C 0.160 H 271.5°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#293497
RGBrgb(41, 52, 151)
HSLhsl(234, 57%, 38%)
HSVhsv(234, 73%, 59%)
CMYKcmyk(72.8%, 65.6%, 0%, 40.8%)
CIE-LABlab(27.19, 30.44, -55.48)
CIE-LCHlch(27.19, 63.28, 298.75°)
OKLaboklab(38.45% 0.0043 -0.1603)
OKLCHoklch(38.45% 0.16 271.5)
XYZxyz(7.7265, 5.1610, 29.8611)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293497 #978C29
analogous
#296B97 #293497 #552997
triadic
#293497 #972934 #349729
tetradic
#293497 #97296B #978C29 #299755
square
#293497 #97296B #978C29 #299755
split-complementary
#293497 #975529 #6B9729
monochromatic
#0F1337 #1C2367 #293497 #3645C7 #6570D5

Accessibility & contrast

On white

10.33
#293497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#293497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293497
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293497#FFFFFF#000000##FFFFFF
##2934971.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #293497;
/* rgb */ color: rgb(41, 52, 151);
/* oklch */ color: oklch(38.5% 0.160 271.5);
Tailwind
colors: {
  custom: {
    50: '#736bb7',
    500: '#293497',
    950: '#000000',
  },
}
SCSS
$custom: #293497;
$custom-light: #736bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#293497",
  "rgb": {
    "r": 41,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 234,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38453,
    "c": 0.16035,
    "h": 271.5
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#293497
secondary
#BBB261
accent
#D147E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293497

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

Preview Lab → · Contrast checker → · Palette generator →

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