#294787#294787

#294787 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.113 H 263.4°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#294787
RGBrgb(41, 71, 135)
HSLhsl(221, 53%, 35%)
HSVhsv(221, 70%, 53%)
CMYKcmyk(69.6%, 47.4%, 0%, 47.1%)
CIE-LABlab(31.18, 11.49, -39.17)
CIE-LCHlch(31.18, 40.82, 286.35°)
OKLaboklab(41.06% -0.013 -0.1121)
OKLCHoklch(41.06% 0.113 263.4)
XYZxyz(7.5393, 6.7264, 23.8180)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294787 #876929
analogous
#297687 #294787 #3A2987
triadic
#294787 #872947 #478729
tetradic
#294787 #872976 #876929 #29873A
square
#294787 #872976 #876929 #29873A
split-complementary
#294787 #873A29 #768729
monochromatic
#0C1629 #1B2E58 #294787 #3760B6 #5D81CE

Accessibility & contrast

On white

8.95
#294787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#294787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294787
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294787#FFFFFF#000000##FFFFFF
##2947871.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#144586
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #294787;
/* rgb */ color: rgb(41, 71, 135);
/* oklch */ color: oklch(41.1% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e79aa',
    500: '#294787',
    950: '#000000',
  },
}
SCSS
$custom: #294787;
$custom-light: #6e79aa;
$custom-dark: #000000;
JSON
{
  "hex": "#294787",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 220.851,
    "s": 53.409,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41056,
    "c": 0.11285,
    "h": 263.4
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#294787
secondary
#B39659
accent
#AE4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294787

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

Preview Lab → · Contrast checker → · Palette generator →

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