#294876#294876

#294876 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.1% C 0.086 H 258.1°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#294876
RGBrgb(41, 72, 118)
HSLhsl(216, 48%, 31%)
HSVhsv(216, 65%, 46%)
CMYKcmyk(65.3%, 39%, 0%, 53.7%)
CIE-LABlab(30.43, 4.34, -29.77)
CIE-LCHlch(30.43, 30.09, 278.28°)
OKLaboklab(40.14% -0.0178 -0.0845)
OKLCHoklch(40.14% 0.086 258.1)
XYZxyz(6.5007, 6.4136, 18.0314)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294876 #765729
analogous
#296E76 #294876 #302976
triadic
#294876 #762948 #487629
tetradic
#294876 #76296E #765729 #297630
square
#294876 #76296E #765729 #297630
split-complementary
#294876 #763029 #6E7629
monochromatic
#09111B #192C49 #294876 #3964A3 #5582C4

Accessibility & contrast

On white

9.20
#294876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#294876 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294876
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294876#FFFFFF#000000##FFFFFF
##2948761.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C78
Deuteranopia (green-blind)
#294475
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #294876;
/* rgb */ color: rgb(41, 72, 118);
/* oklch */ color: oklch(40.1% 0.086 258.1);
Tailwind
colors: {
  custom: {
    50: '#6b7a9e',
    500: '#294876',
    950: '#000000',
  },
}
SCSS
$custom: #294876;
$custom-light: #6b7a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#294876",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 118
  },
  "hsl": {
    "h": 215.844,
    "s": 48.428,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40143,
    "c": 0.08636,
    "h": 258.1
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#294876
secondary
#A88653
accent
#A150D8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #294876

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

Preview Lab → · Contrast checker → · Palette generator →

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