#293495#293495

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

Color values

HEX#293495
RGBrgb(41, 52, 149)
HSLhsl(234, 57%, 37%)
HSVhsv(234, 72%, 58%)
CMYKcmyk(72.5%, 65.1%, 0%, 41.6%)
CIE-LABlab(27.01, 29.70, -54.55)
CIE-LCHlch(27.01, 62.11, 298.57°)
OKLaboklab(38.27% 0.0044 -0.1576)
OKLCHoklch(38.27% 0.158 271.6)
XYZxyz(7.5654, 5.0966, 29.0130)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293495 #958A29
analogous
#296A95 #293495 #542995
triadic
#293495 #952934 #349529
tetradic
#293495 #95296A #958A29 #299554
square
#293495 #95296A #958A29 #299554
split-complementary
#293495 #955429 #6A9529
monochromatic
#0F1335 #1C2365 #293495 #3645C5 #646FD4

Accessibility & contrast

On white

10.40
#293495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#293495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293495
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293495#FFFFFF#000000##FFFFFF
##2934951.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #293495;
/* rgb */ color: rgb(41, 52, 149);
/* oklch */ color: oklch(38.3% 0.158 271.6);
Tailwind
colors: {
  custom: {
    50: '#736bb5',
    500: '#293495',
    950: '#000000',
  },
}
SCSS
$custom: #293495;
$custom-light: #736bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#293495",
  "rgb": {
    "r": 41,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 233.889,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38265,
    "c": 0.15762,
    "h": 271.6
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#293495
secondary
#BAB160
accent
#D148E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #293495

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

Preview Lab → · Contrast checker → · Palette generator →

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