#294772#294772

#294772 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.6% C 0.082 H 257.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#294772
RGBrgb(41, 71, 114)
HSLhsl(215, 47%, 30%)
HSVhsv(215, 64%, 45%)
CMYKcmyk(64%, 37.7%, 0%, 55.3%)
CIE-LABlab(29.89, 3.50, -28.11)
CIE-LCHlch(29.89, 28.33, 277.11°)
OKLaboklab(39.65% -0.0177 -0.0797)
OKLCHoklch(39.65% 0.082 257.5)
XYZxyz(6.2039, 6.1922, 16.7846)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294772 #725429
analogous
#296C72 #294772 #2F2972
triadic
#294772 #722947 #477229
tetradic
#294772 #72296C #725429 #29722F
square
#294772 #72296C #725429 #29722F
split-complementary
#294772 #722F29 #6C7229
monochromatic
#090F18 #192B45 #294772 #39639F #5481C1

Accessibility & contrast

On white

9.38
#294772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#294772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294772
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294772#FFFFFF#000000##FFFFFF
##2947721.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354A74
Deuteranopia (green-blind)
#2B4371
Tritanopia (blue-blind)
#005157
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #294772;
/* rgb */ color: rgb(41, 71, 114);
/* oklch */ color: oklch(39.6% 0.082 257.5);
Tailwind
colors: {
  custom: {
    50: '#6a799b',
    500: '#294772',
    950: '#000000',
  },
}
SCSS
$custom: #294772;
$custom-light: #6a799b;
$custom-dark: #000000;
JSON
{
  "hex": "#294772",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 215.342,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39648,
    "c": 0.08161,
    "h": 257.5
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#294772
secondary
#A48353
accent
#A051D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #294772

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

Preview Lab → · Contrast checker → · Palette generator →

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