#293D89#293D89

#293D89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.129 H 268.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#293D89
RGBrgb(41, 61, 137)
HSLhsl(228, 54%, 35%)
HSVhsv(228, 70%, 54%)
CMYKcmyk(70.1%, 55.5%, 0%, 46.3%)
CIE-LABlab(28.42, 19.09, -44.85)
CIE-LCHlch(28.42, 48.74, 293.06°)
OKLaboklab(39% -0.0031 -0.129)
OKLCHoklch(39% 0.129 268.6)
XYZxyz(7.0970, 5.6144, 24.3717)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293D89 #897529
analogous
#296D89 #293D89 #452989
triadic
#293D89 #89293D #3D8929
tetradic
#293D89 #89296D #897529 #298945
square
#293D89 #89296D #897529 #298945
split-complementary
#293D89 #894529 #6D8929
monochromatic
#0D132B #1B285A #293D89 #3752B8 #5E75CF

Accessibility & contrast

On white

9.89
#293D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#293D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293D89
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293D89#FFFFFF#000000##FFFFFF
##293D891.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #293d89;
/* rgb */ color: rgb(41, 61, 137);
/* oklch */ color: oklch(39.0% 0.129 268.6);
Tailwind
colors: {
  custom: {
    50: '#6f72ac',
    500: '#293d89',
    950: '#000000',
  },
}
SCSS
$custom: #293d89;
$custom-light: #6f72ac;
$custom-dark: #000000;
JSON
{
  "hex": "#293d89",
  "rgb": {
    "r": 41,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 227.5,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39004,
    "c": 0.12901,
    "h": 268.6
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#293D89
secondary
#B4A15A
accent
#BF4ADD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #293D89

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

Preview Lab → · Contrast checker → · Palette generator →

#293D89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva