#294E87#294E87

#294E87 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.104 H 258.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#294E87
RGBrgb(41, 78, 135)
HSLhsl(216, 53%, 35%)
HSVhsv(216, 70%, 53%)
CMYKcmyk(69.6%, 42.2%, 0%, 47.1%)
CIE-LABlab(33.28, 6.79, -35.80)
CIE-LCHlch(33.28, 36.44, 280.74°)
OKLaboklab(42.68% -0.0202 -0.1021)
OKLCHoklch(42.68% 0.104 258.8)
XYZxyz(8.0104, 7.6687, 23.9750)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294E87 #876229
analogous
#297D87 #294E87 #332987
triadic
#294E87 #87294E #4E8729
tetradic
#294E87 #87297D #876229 #298733
square
#294E87 #87297D #876229 #298733
split-complementary
#294E87 #873329 #7D8729
monochromatic
#0C1829 #1B3358 #294E87 #3769B6 #5D89CE

Accessibility & contrast

On white

8.29
#294E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#294E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294E87
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294E87#FFFFFF#000000##FFFFFF
##294E871.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345389
Deuteranopia (green-blind)
#254A86
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #294e87;
/* rgb */ color: rgb(41, 78, 135);
/* oklch */ color: oklch(42.7% 0.104 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7faa',
    500: '#294e87',
    950: '#000000',
  },
}
SCSS
$custom: #294e87;
$custom-light: #6e7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#294e87",
  "rgb": {
    "r": 41,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 216.383,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42682,
    "c": 0.10406,
    "h": 258.8
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#294E87
secondary
#B39059
accent
#A34BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #294E87

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

Preview Lab → · Contrast checker → · Palette generator →

#294E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva