#293173#293173

#293173 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.7% C 0.113 H 273.8°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#293173
RGBrgb(41, 49, 115)
HSLhsl(234, 47%, 31%)
HSVhsv(234, 64%, 45%)
CMYKcmyk(64.3%, 57.4%, 0%, 54.9%)
CIE-LABlab(23.36, 19.03, -39.20)
CIE-LCHlch(23.36, 43.58, 295.89°)
OKLaboklab(34.67% 0.0074 -0.1125)
OKLCHoklch(34.67% 0.113 273.8)
XYZxyz(5.1063, 3.9054, 16.7011)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293173 #736B29
analogous
#295673 #293173 #462973
triadic
#293173 #732931 #317329
tetradic
#293173 #732956 #736B29 #297346
square
#293173 #732956 #736B29 #297346
split-complementary
#293173 #734629 #567329
monochromatic
#090B19 #191E46 #293173 #3944A0 #5460C2

Accessibility & contrast

On white

11.79
#293173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#293173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293173
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293173#FFFFFF#000000##FFFFFF
##2931731.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B75
Deuteranopia (green-blind)
#003572
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293173;
/* rgb */ color: rgb(41, 49, 115);
/* oklch */ color: oklch(34.7% 0.113 273.8);
Tailwind
colors: {
  custom: {
    50: '#6b689c',
    500: '#293173',
    950: '#000000',
  },
}
SCSS
$custom: #293173;
$custom-light: #6b689c;
$custom-dark: #000000;
JSON
{
  "hex": "#293173",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 115
  },
  "hsl": {
    "h": 233.514,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34668,
    "c": 0.11276,
    "h": 273.8
  },
  "luminance": 0.03906
}

Semantic roles & 50–950 ramp

primary
#293173
secondary
#A59C53
accent
#C951D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293173

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

Preview Lab → · Contrast checker → · Palette generator →

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