#294F87#294F87

#294F87 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.103 H 258.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#294F87
RGBrgb(41, 79, 135)
HSLhsl(216, 53%, 35%)
HSVhsv(216, 70%, 53%)
CMYKcmyk(69.6%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.59, 6.13, -35.31)
CIE-LCHlch(33.59, 35.84, 279.84°)
OKLaboklab(42.92% -0.0213 -0.1006)
OKLCHoklch(42.92% 0.103 258.1)
XYZxyz(8.0820, 7.8118, 23.9989)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294F87 #876129
analogous
#297E87 #294F87 #322987
triadic
#294F87 #87294F #4F8729
tetradic
#294F87 #87297E #876129 #298732
square
#294F87 #87297E #876129 #298732
split-complementary
#294F87 #873229 #7E8729
monochromatic
#0C1829 #1B3458 #294F87 #376AB6 #5D8ACE

Accessibility & contrast

On white

8.19
#294F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#294F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294F87
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294F87#FFFFFF#000000##FFFFFF
##294F871.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355489
Deuteranopia (green-blind)
#274B86
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #294f87;
/* rgb */ color: rgb(41, 79, 135);
/* oklch */ color: oklch(42.9% 0.103 258.1);
Tailwind
colors: {
  custom: {
    50: '#6e7faa',
    500: '#294f87',
    950: '#000000',
  },
}
SCSS
$custom: #294f87;
$custom-light: #6e7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#294f87",
  "rgb": {
    "r": 41,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 215.745,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42918,
    "c": 0.10286,
    "h": 258.1
  },
  "luminance": 0.07813
}

Semantic roles & 50–950 ramp

primary
#294F87
secondary
#B38F59
accent
#A24BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #294F87

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

Preview Lab → · Contrast checker → · Palette generator →

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