#294778#294778

#294778 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.091 H 259.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#294778
RGBrgb(41, 71, 120)
HSLhsl(217, 49%, 32%)
HSVhsv(217, 66%, 47%)
CMYKcmyk(65.8%, 40.8%, 0%, 52.9%)
CIE-LABlab(30.24, 5.76, -31.34)
CIE-LCHlch(30.24, 31.86, 280.41°)
OKLaboklab(40.03% -0.0161 -0.0891)
OKLCHoklch(40.03% 0.091 259.7)
XYZxyz(6.5567, 6.3334, 18.6426)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294778 #785A29
analogous
#296F78 #294778 #332978
triadic
#294778 #782947 #477829
tetradic
#294778 #78296F #785A29 #297833
square
#294778 #78296F #785A29 #297833
split-complementary
#294778 #783329 #6F7829
monochromatic
#0A111D #192C4A #294778 #3962A6 #5680C5

Accessibility & contrast

On white

9.26
#294778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#294778 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294778
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294778#FFFFFF#000000##FFFFFF
##2947781.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7A
Deuteranopia (green-blind)
#264477
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #294778;
/* rgb */ color: rgb(41, 71, 120);
/* oklch */ color: oklch(40.0% 0.091 259.7);
Tailwind
colors: {
  custom: {
    50: '#6b799f',
    500: '#294778',
    950: '#000000',
  },
}
SCSS
$custom: #294778;
$custom-light: #6b799f;
$custom-dark: #000000;
JSON
{
  "hex": "#294778",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 120
  },
  "hsl": {
    "h": 217.215,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4003,
    "c": 0.09055,
    "h": 259.7
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#294778
secondary
#AA8953
accent
#A44FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #294778

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

Preview Lab → · Contrast checker → · Palette generator →

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