#294E8B#294E8B

#294E8B is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.110 H 259.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#294E8B
RGBrgb(41, 78, 139)
HSLhsl(217, 54%, 35%)
HSVhsv(217, 71%, 55%)
CMYKcmyk(70.5%, 43.9%, 0%, 45.5%)
CIE-LABlab(33.53, 8.32, -37.86)
CIE-LCHlch(33.53, 38.77, 282.40°)
OKLaboklab(42.95% -0.0193 -0.1081)
OKLCHoklch(42.95% 0.11 259.9)
XYZxyz(8.2974, 7.7834, 25.4862)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294E8B #8B6629
analogous
#297F8B #294E8B #35298B
triadic
#294E8B #8B294E #4E8B29
tetradic
#294E8B #8B297F #8B6629 #298B35
square
#294E8B #8B297F #8B6629 #298B35
split-complementary
#294E8B #8B3529 #7F8B29
monochromatic
#0D192C #1B335C #294E8B #3769BA #5F89D0

Accessibility & contrast

On white

8.21
#294E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #294E8B
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294E8B#FFFFFF#000000##FFFFFF
##294E8B1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548D
Deuteranopia (green-blind)
#214B8A
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #294e8b;
/* rgb */ color: rgb(41, 78, 139);
/* oklch */ color: oklch(43.0% 0.110 259.9);
Tailwind
colors: {
  custom: {
    50: '#6f7fad',
    500: '#294e8b',
    950: '#000000',
  },
}
SCSS
$custom: #294e8b;
$custom-light: #6f7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#294e8b",
  "rgb": {
    "r": 41,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 217.347,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4295,
    "c": 0.10985,
    "h": 259.9
  },
  "luminance": 0.07784
}

Semantic roles & 50–950 ramp

primary
#294E8B
secondary
#B5935B
accent
#A64ADE
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #294E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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