#294777#294777

#294777 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.0% C 0.089 H 259.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#294777
RGBrgb(41, 71, 119)
HSLhsl(217, 49%, 31%)
HSVhsv(217, 66%, 47%)
CMYKcmyk(65.5%, 40.3%, 0%, 53.3%)
CIE-LABlab(30.18, 5.38, -30.80)
CIE-LCHlch(30.18, 31.27, 279.91°)
OKLaboklab(39.97% -0.0164 -0.0875)
OKLCHoklch(39.97% 0.089 259.4)
XYZxyz(6.4963, 6.3092, 18.3246)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294777 #775929
analogous
#296E77 #294777 #322977
triadic
#294777 #772947 #477729
tetradic
#294777 #77296E #775929 #297732
square
#294777 #77296E #775929 #297732
split-complementary
#294777 #773229 #6E7729
monochromatic
#0A111C #192C49 #294777 #3962A5 #5680C5

Accessibility & contrast

On white

9.28
#294777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#294777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294777
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294777#FFFFFF#000000##FFFFFF
##2947771.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#274476
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #294777;
/* rgb */ color: rgb(41, 71, 119);
/* oklch */ color: oklch(40.0% 0.089 259.4);
Tailwind
colors: {
  custom: {
    50: '#6b799e',
    500: '#294777',
    950: '#000000',
  },
}
SCSS
$custom: #294777;
$custom-light: #6b799e;
$custom-dark: #000000;
JSON
{
  "hex": "#294777",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 119
  },
  "hsl": {
    "h": 216.923,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.39965,
    "c": 0.08905,
    "h": 259.4
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#294777
secondary
#A98853
accent
#A44FD8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #294777

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

Preview Lab → · Contrast checker → · Palette generator →

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