#293289#293289

#293289 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.144 H 272.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#293289
RGBrgb(41, 50, 137)
HSLhsl(234, 54%, 35%)
HSVhsv(234, 70%, 54%)
CMYKcmyk(70.1%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.44, 26.58, -49.70)
CIE-LCHlch(25.44, 56.36, 298.14°)
OKLaboklab(36.78% 0.0065 -0.1434)
OKLCHoklch(36.78% 0.144 272.6)
XYZxyz(6.5689, 4.5581, 24.1957)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293289 #898029
analogous
#296289 #293289 #502989
triadic
#293289 #892932 #328929
tetradic
#293289 #892962 #898029 #298950
square
#293289 #892962 #898029 #298950
split-complementary
#293289 #895029 #628929
monochromatic
#0D102B #1B215A #293289 #3743B8 #5E68CF

Accessibility & contrast

On white

10.98
#293289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#293289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293289
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293289#FFFFFF#000000##FFFFFF
##2932891.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #293289;
/* rgb */ color: rgb(41, 50, 137);
/* oklch */ color: oklch(36.8% 0.144 272.6);
Tailwind
colors: {
  custom: {
    50: '#706aac',
    500: '#293289',
    950: '#000000',
  },
}
SCSS
$custom: #293289;
$custom-light: #706aac;
$custom-dark: #000000;
JSON
{
  "hex": "#293289",
  "rgb": {
    "r": 41,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 234.375,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36781,
    "c": 0.14351,
    "h": 272.6
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#293289
secondary
#B4AC5A
accent
#D04ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #293289

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

Preview Lab → · Contrast checker → · Palette generator →

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