#294786#294786

#294786 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.111 H 263.2°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#294786
RGBrgb(41, 71, 134)
HSLhsl(221, 53%, 34%)
HSVhsv(221, 69%, 53%)
CMYKcmyk(69.4%, 47%, 0%, 47.5%)
CIE-LABlab(31.11, 11.10, -38.66)
CIE-LCHlch(31.11, 40.22, 286.03°)
OKLaboklab(40.99% -0.0132 -0.1106)
OKLCHoklch(40.99% 0.111 263.2)
XYZxyz(7.4692, 6.6984, 23.4489)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294786 #866829
analogous
#297686 #294786 #3A2986
triadic
#294786 #862947 #478629
tetradic
#294786 #862976 #866829 #29863A
square
#294786 #862976 #866829 #29863A
split-complementary
#294786 #863A29 #768629
monochromatic
#0C1528 #1B2E57 #294786 #3760B5 #5C81CD

Accessibility & contrast

On white

8.98
#294786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#294786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294786
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294786#FFFFFF#000000##FFFFFF
##2947861.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#164585
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #294786;
/* rgb */ color: rgb(41, 71, 134);
/* oklch */ color: oklch(41.0% 0.111 263.2);
Tailwind
colors: {
  custom: {
    50: '#6e79aa',
    500: '#294786',
    950: '#000000',
  },
}
SCSS
$custom: #294786;
$custom-light: #6e79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#294786",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 220.645,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40985,
    "c": 0.11137,
    "h": 263.2
  },
  "luminance": 0.06699
}

Semantic roles & 50–950 ramp

primary
#294786
secondary
#B39558
accent
#AE4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294786

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

Preview Lab → · Contrast checker → · Palette generator →

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