#294E8A#294E8A

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

Color values

HEX#294E8A
RGBrgb(41, 78, 138)
HSLhsl(217, 54%, 35%)
HSVhsv(217, 70%, 54%)
CMYKcmyk(70.3%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.47, 7.94, -37.35)
CIE-LCHlch(33.47, 38.18, 282.00°)
OKLaboklab(42.88% -0.0195 -0.1066)
OKLCHoklch(42.88% 0.108 259.6)
XYZxyz(8.2246, 7.7543, 25.1031)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294E8A #8A6529
analogous
#297F8A #294E8A #34298A
triadic
#294E8A #8A294E #4E8A29
tetradic
#294E8A #8A297F #8A6529 #298A34
square
#294E8A #8A297F #8A6529 #298A34
split-complementary
#294E8A #8A3429 #7F8A29
monochromatic
#0D192C #1B335B #294E8A #3769B9 #5E89CF

Accessibility & contrast

On white

8.23
#294E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#294E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294E8A
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294E8A#FFFFFF#000000##FFFFFF
##294E8A1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32548C
Deuteranopia (green-blind)
#224B89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #294e8a;
/* rgb */ color: rgb(41, 78, 138);
/* oklch */ color: oklch(42.9% 0.108 259.6);
Tailwind
colors: {
  custom: {
    50: '#6f7fac',
    500: '#294e8a',
    950: '#000000',
  },
}
SCSS
$custom: #294e8a;
$custom-light: #6f7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#294e8a",
  "rgb": {
    "r": 41,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 217.113,
    "s": 54.19,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.10841,
    "h": 259.6
  },
  "luminance": 0.07755
}

Semantic roles & 50–950 ramp

primary
#294E8A
secondary
#B5925A
accent
#A54ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #294E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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