#294278#294278

#294278 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.097 H 263.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#294278
RGBrgb(41, 66, 120)
HSLhsl(221, 49%, 32%)
HSVhsv(221, 66%, 47%)
CMYKcmyk(65.8%, 45%, 0%, 52.9%)
CIE-LABlab(28.70, 9.15, -33.78)
CIE-LCHlch(28.70, 35.00, 285.15°)
OKLaboklab(38.84% -0.0105 -0.0963)
OKLCHoklch(38.84% 0.097 263.8)
XYZxyz(6.2517, 5.7233, 18.5409)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294278 #785F29
analogous
#296A78 #294278 #382978
triadic
#294278 #782942 #427829
tetradic
#294278 #78296A #785F29 #297838
square
#294278 #78296A #785F29 #297838
split-complementary
#294278 #783829 #6A7829
monochromatic
#0A101D #19294A #294278 #395BA6 #5679C5

Accessibility & contrast

On white

9.79
#294278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#294278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294278
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294278#FFFFFF#000000##FFFFFF
##2942781.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487A
Deuteranopia (green-blind)
#1D4077
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #294278;
/* rgb */ color: rgb(41, 66, 120);
/* oklch */ color: oklch(38.8% 0.097 263.8);
Tailwind
colors: {
  custom: {
    50: '#6b769f',
    500: '#294278',
    950: '#000000',
  },
}
SCSS
$custom: #294278;
$custom-light: #6b769f;
$custom-dark: #000000;
JSON
{
  "hex": "#294278",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 221.013,
    "s": 49.068,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38843,
    "c": 0.09691,
    "h": 263.8
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#294278
secondary
#AA8E53
accent
#AD4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294278

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

Preview Lab → · Contrast checker → · Palette generator →

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