#293787#293787

#293787 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.134 H 271.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#293787
RGBrgb(41, 55, 135)
HSLhsl(231, 53%, 35%)
HSVhsv(231, 70%, 53%)
CMYKcmyk(69.6%, 59.3%, 0%, 47.1%)
CIE-LABlab(26.60, 22.44, -46.56)
CIE-LCHlch(26.60, 51.69, 295.73°)
OKLaboklab(37.59% 0.0023 -0.1341)
OKLCHoklch(37.59% 0.134 271)
XYZxyz(6.6523, 4.9524, 23.5223)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293787 #877929
analogous
#296687 #293787 #4A2987
triadic
#293787 #872937 #378729
tetradic
#293787 #872966 #877929 #29874A
square
#293787 #872966 #877929 #29874A
split-complementary
#293787 #874A29 #668729
monochromatic
#0C1129 #1B2458 #293787 #374AB6 #5D6ECE

Accessibility & contrast

On white

10.55
#293787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#293787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293787
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293787#FFFFFF#000000##FFFFFF
##2937871.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003B85
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293787;
/* rgb */ color: rgb(41, 55, 135);
/* oklch */ color: oklch(37.6% 0.134 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f6dab',
    500: '#293787',
    950: '#000000',
  },
}
SCSS
$custom: #293787;
$custom-light: #6f6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#293787",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 231.064,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37591,
    "c": 0.1341,
    "h": 271
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#293787
secondary
#B3A659
accent
#C74BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293787

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

Preview Lab → · Contrast checker → · Palette generator →

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