#294D87#294D87

#294D87 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.105 H 259.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#294D87
RGBrgb(41, 77, 135)
HSLhsl(217, 53%, 35%)
HSVhsv(217, 70%, 53%)
CMYKcmyk(69.6%, 43%, 0%, 47.1%)
CIE-LABlab(32.98, 7.46, -36.28)
CIE-LCHlch(32.98, 37.04, 281.61°)
OKLaboklab(42.45% -0.0192 -0.1035)
OKLCHoklch(42.45% 0.105 259.5)
XYZxyz(7.9399, 7.5276, 23.9515)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294D87 #876329
analogous
#297C87 #294D87 #342987
triadic
#294D87 #87294D #4D8729
tetradic
#294D87 #87297C #876329 #298734
square
#294D87 #87297C #876329 #298734
split-complementary
#294D87 #873429 #7C8729
monochromatic
#0C1729 #1B3258 #294D87 #3768B6 #5D88CE

Accessibility & contrast

On white

8.38
#294D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#294D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294D87
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294D87#FFFFFF#000000##FFFFFF
##294D871.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325289
Deuteranopia (green-blind)
#234A86
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #294d87;
/* rgb */ color: rgb(41, 77, 135);
/* oklch */ color: oklch(42.4% 0.105 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7eaa',
    500: '#294d87',
    950: '#000000',
  },
}
SCSS
$custom: #294d87;
$custom-light: #6e7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#294d87",
  "rgb": {
    "r": 41,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 217.021,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.10528,
    "h": 259.5
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#294D87
secondary
#B39059
accent
#A54BDD
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294D87

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

Preview Lab → · Contrast checker → · Palette generator →

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