#294887#294887

#294887 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.112 H 262.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#294887
RGBrgb(41, 72, 135)
HSLhsl(220, 53%, 35%)
HSVhsv(220, 70%, 53%)
CMYKcmyk(69.6%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.47, 10.81, -38.69)
CIE-LCHlch(31.47, 40.17, 285.61°)
OKLaboklab(41.29% -0.014 -0.1107)
OKLCHoklch(41.29% 0.112 262.8)
XYZxyz(7.6034, 6.8547, 23.8393)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294887 #876829
analogous
#297787 #294887 #392987
triadic
#294887 #872948 #488729
tetradic
#294887 #872977 #876829 #298739
square
#294887 #872977 #876829 #298739
split-complementary
#294887 #873929 #778729
monochromatic
#0C1629 #1B2F58 #294887 #3761B6 #5D82CE

Accessibility & contrast

On white

8.86
#294887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#294887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294887
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294887#FFFFFF#000000##FFFFFF
##2948871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#174686
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #294887;
/* rgb */ color: rgb(41, 72, 135);
/* oklch */ color: oklch(41.3% 0.112 262.8);
Tailwind
colors: {
  custom: {
    50: '#6e7aaa',
    500: '#294887',
    950: '#000000',
  },
}
SCSS
$custom: #294887;
$custom-light: #6e7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#294887",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 220.213,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41285,
    "c": 0.11156,
    "h": 262.8
  },
  "luminance": 0.06855
}

Semantic roles & 50–950 ramp

primary
#294887
secondary
#B39559
accent
#AD4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294887

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

Preview Lab → · Contrast checker → · Palette generator →

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