#293789#293789

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

Color values

HEX#293789
RGBrgb(41, 55, 137)
HSLhsl(231, 54%, 35%)
HSVhsv(231, 70%, 54%)
CMYKcmyk(70.1%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.76, 23.20, -47.54)
CIE-LCHlch(26.76, 52.90, 296.01°)
OKLaboklab(37.76% 0.0023 -0.137)
OKLCHoklch(37.76% 0.137 271)
XYZxyz(6.7945, 5.0093, 24.2709)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293789 #897B29
analogous
#296789 #293789 #4B2989
triadic
#293789 #892937 #378929
tetradic
#293789 #892967 #897B29 #29894B
square
#293789 #892967 #897B29 #29894B
split-complementary
#293789 #894B29 #678929
monochromatic
#0D112B #1B245A #293789 #374AB8 #5E6ECF

Accessibility & contrast

On white

10.49
#293789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#293789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293789
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293789#FFFFFF#000000##FFFFFF
##2937891.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #293789;
/* rgb */ color: rgb(41, 55, 137);
/* oklch */ color: oklch(37.8% 0.137 271.0);
Tailwind
colors: {
  custom: {
    50: '#706dac',
    500: '#293789',
    950: '#000000',
  },
}
SCSS
$custom: #293789;
$custom-light: #706dac;
$custom-dark: #000000;
JSON
{
  "hex": "#293789",
  "rgb": {
    "r": 41,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 231.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37763,
    "c": 0.13698,
    "h": 271
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#293789
secondary
#B4A75A
accent
#C84ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293789

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

Preview Lab → · Contrast checker → · Palette generator →

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