#293176#293176

#293176 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.9% C 0.117 H 273.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#293176
RGBrgb(41, 49, 118)
HSLhsl(234, 48%, 31%)
HSVhsv(234, 65%, 46%)
CMYKcmyk(65.3%, 58.5%, 0%, 53.7%)
CIE-LABlab(23.59, 20.15, -40.74)
CIE-LCHlch(23.59, 45.45, 296.32°)
OKLaboklab(34.92% 0.0075 -0.117)
OKLCHoklch(34.92% 0.117 273.7)
XYZxyz(5.2817, 3.9756, 17.6251)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293176 #766E29
analogous
#295776 #293176 #472976
triadic
#293176 #762931 #317629
tetradic
#293176 #762957 #766E29 #297647
square
#293176 #762957 #766E29 #297647
split-complementary
#293176 #764729 #577629
monochromatic
#090B1B #191E49 #293176 #3944A3 #5561C4

Accessibility & contrast

On white

11.70
#293176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#293176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #293176
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293176#FFFFFF#000000##FFFFFF
##2931761.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #293176;
/* rgb */ color: rgb(41, 49, 118);
/* oklch */ color: oklch(34.9% 0.117 273.7);
Tailwind
colors: {
  custom: {
    50: '#6c699e',
    500: '#293176',
    950: '#000000',
  },
}
SCSS
$custom: #293176;
$custom-light: #6c699e;
$custom-dark: #000000;
JSON
{
  "hex": "#293176",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 233.766,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34917,
    "c": 0.11728,
    "h": 273.7
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#293176
secondary
#A89F53
accent
#CA50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #293176

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

Preview Lab → · Contrast checker → · Palette generator →

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