#293189#293189

#293189 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.145 H 272.9°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#293189
RGBrgb(41, 49, 137)
HSLhsl(235, 54%, 35%)
HSVhsv(235, 70%, 54%)
CMYKcmyk(70.1%, 64.2%, 0%, 46.3%)
CIE-LABlab(25.18, 27.25, -50.12)
CIE-LCHlch(25.18, 57.05, 298.53°)
OKLaboklab(36.59% 0.0073 -0.1446)
OKLCHoklch(36.59% 0.145 272.9)
XYZxyz(6.5266, 4.4736, 24.1816)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293189 #898129
analogous
#296189 #293189 #512989
triadic
#293189 #892931 #318929
tetradic
#293189 #892961 #898129 #298951
square
#293189 #892961 #898129 #298951
split-complementary
#293189 #895129 #618929
monochromatic
#0D0F2B #1B205A #293189 #3742B8 #5E67CF

Accessibility & contrast

On white

11.08
#293189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#293189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293189
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293189#FFFFFF#000000##FFFFFF
##2931891.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #293189;
/* rgb */ color: rgb(41, 49, 137);
/* oklch */ color: oklch(36.6% 0.145 272.9);
Tailwind
colors: {
  custom: {
    50: '#7069ac',
    500: '#293189',
    950: '#000000',
  },
}
SCSS
$custom: #293189;
$custom-light: #7069ac;
$custom-dark: #000000;
JSON
{
  "hex": "#293189",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 137
  },
  "hsl": {
    "h": 235,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.14479,
    "h": 272.9
  },
  "luminance": 0.04474
}

Semantic roles & 50–950 ramp

primary
#293189
secondary
#B4AD5A
accent
#D14ADD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #293189

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

Preview Lab → · Contrast checker → · Palette generator →

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