#293784#293784

#293784 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.130 H 271.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#293784
RGBrgb(41, 55, 132)
HSLhsl(231, 53%, 34%)
HSVhsv(231, 69%, 52%)
CMYKcmyk(68.9%, 58.3%, 0%, 48.2%)
CIE-LABlab(26.36, 21.30, -45.08)
CIE-LCHlch(26.36, 49.86, 295.29°)
OKLaboklab(37.34% 0.0022 -0.1297)
OKLCHoklch(37.34% 0.13 271)
XYZxyz(6.4441, 4.8691, 22.4256)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293784 #847629
analogous
#296584 #293784 #492984
triadic
#293784 #842937 #378429
tetradic
#293784 #842965 #847629 #298449
square
#293784 #842965 #847629 #298449
split-complementary
#293784 #844929 #658429
monochromatic
#0C1027 #1A2455 #293784 #384AB3 #5B6DCC

Accessibility & contrast

On white

10.64
#293784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#293784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293784
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293784#FFFFFF#000000##FFFFFF
##2937841.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004387
Deuteranopia (green-blind)
#003A82
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #293784;
/* rgb */ color: rgb(41, 55, 132);
/* oklch */ color: oklch(37.3% 0.130 271.0);
Tailwind
colors: {
  custom: {
    50: '#6e6da8',
    500: '#293784',
    950: '#000000',
  },
}
SCSS
$custom: #293784;
$custom-light: #6e6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#293784",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 132
  },
  "hsl": {
    "h": 230.769,
    "s": 52.601,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.12975,
    "h": 271
  },
  "luminance": 0.0487
}

Semantic roles & 50–950 ramp

primary
#293784
secondary
#B2A457
accent
#C64CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293784

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

Preview Lab → · Contrast checker → · Palette generator →

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