#294178#294178

#294178 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.098 H 264.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#294178
RGBrgb(41, 65, 120)
HSLhsl(222, 49%, 32%)
HSVhsv(222, 66%, 47%)
CMYKcmyk(65.8%, 45.8%, 0%, 52.9%)
CIE-LABlab(28.40, 9.83, -34.26)
CIE-LCHlch(28.40, 35.65, 286.00°)
OKLaboklab(38.61% -0.0094 -0.0978)
OKLCHoklch(38.61% 0.098 264.5)
XYZxyz(6.1937, 5.6075, 18.5216)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294178 #786029
analogous
#296978 #294178 #392978
triadic
#294178 #782941 #417829
tetradic
#294178 #782969 #786029 #297839
square
#294178 #782969 #786029 #297839
split-complementary
#294178 #783929 #697829
monochromatic
#0A101D #19284A #294178 #395AA6 #5678C5

Accessibility & contrast

On white

9.90
#294178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#294178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294178
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294178#FFFFFF#000000##FFFFFF
##2941781.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#1B4077
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #294178;
/* rgb */ color: rgb(41, 65, 120);
/* oklch */ color: oklch(38.6% 0.098 264.5);
Tailwind
colors: {
  custom: {
    50: '#6b759f',
    500: '#294178',
    950: '#000000',
  },
}
SCSS
$custom: #294178;
$custom-light: #6b759f;
$custom-dark: #000000;
JSON
{
  "hex": "#294178",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 221.772,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3861,
    "c": 0.09822,
    "h": 264.5
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#294178
secondary
#AA8F53
accent
#AF4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294178

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

Preview Lab → · Contrast checker → · Palette generator →

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