#293174#293174

#293174 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.8% C 0.114 H 273.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#293174
RGBrgb(41, 49, 116)
HSLhsl(234, 48%, 31%)
HSVhsv(234, 65%, 45%)
CMYKcmyk(64.7%, 57.8%, 0%, 54.5%)
CIE-LABlab(23.43, 19.40, -39.72)
CIE-LCHlch(23.43, 44.20, 296.03°)
OKLaboklab(34.75% 0.0075 -0.114)
OKLCHoklch(34.75% 0.114 273.7)
XYZxyz(5.1641, 3.9286, 17.0058)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293174 #746C29
analogous
#295674 #293174 #462974
triadic
#293174 #742931 #317429
tetradic
#293174 #742956 #746C29 #297446
square
#293174 #742956 #746C29 #297446
split-complementary
#293174 #744629 #567429
monochromatic
#090B1A #191E47 #293174 #3944A1 #5560C3

Accessibility & contrast

On white

11.76
#293174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#293174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293174
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293174#FFFFFF#000000##FFFFFF
##2931741.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293174;
/* rgb */ color: rgb(41, 49, 116);
/* oklch */ color: oklch(34.8% 0.114 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b689d',
    500: '#293174',
    950: '#000000',
  },
}
SCSS
$custom: #293174;
$custom-light: #6b689d;
$custom-dark: #000000;
JSON
{
  "hex": "#293174",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 233.6,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34751,
    "c": 0.11427,
    "h": 273.7
  },
  "luminance": 0.03929
}

Semantic roles & 50–950 ramp

primary
#293174
secondary
#A69D53
accent
#C950D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293174

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

Preview Lab → · Contrast checker → · Palette generator →

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