#293178#293178

#293178 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.120 H 273.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#293178
RGBrgb(41, 49, 120)
HSLhsl(234, 49%, 32%)
HSVhsv(234, 66%, 47%)
CMYKcmyk(65.8%, 59.2%, 0%, 52.9%)
CIE-LABlab(23.75, 20.90, -41.75)
CIE-LCHlch(23.75, 46.69, 296.59°)
OKLaboklab(35.09% 0.0076 -0.12)
OKLCHoklch(35.09% 0.12 273.6)
XYZxyz(5.4018, 4.0237, 18.2576)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#293178 #787029
analogous
#295978 #293178 #492978
triadic
#293178 #782931 #317829
tetradic
#293178 #782959 #787029 #297849
square
#293178 #782959 #787029 #297849
split-complementary
#293178 #784929 #597829
monochromatic
#0A0C1D #191E4A #293178 #3944A6 #5661C5

Accessibility & contrast

On white

11.64
#293178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #293178
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##293178#FFFFFF#000000##FFFFFF
##2931781.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7A
Deuteranopia (green-blind)
#003577
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #293178;
/* rgb */ color: rgb(41, 49, 120);
/* oklch */ color: oklch(35.1% 0.120 273.6);
Tailwind
colors: {
  custom: {
    50: '#6c69a0',
    500: '#293178',
    950: '#000000',
  },
}
SCSS
$custom: #293178;
$custom-light: #6c69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#293178",
  "rgb": {
    "r": 41,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 233.924,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35086,
    "c": 0.12026,
    "h": 273.6
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#293178
secondary
#AAA153
accent
#CB4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #293178

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

Preview Lab → · Contrast checker → · Palette generator →

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