#294498#294498

#294498 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.141 H 266.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#294498
RGBrgb(41, 68, 152)
HSLhsl(225, 58%, 38%)
HSVhsv(225, 73%, 60%)
CMYKcmyk(73%, 55.3%, 0%, 40.4%)
CIE-LABlab(31.51, 20.08, -49.04)
CIE-LCHlch(31.51, 52.99, 292.27°)
OKLaboklab(41.7% -0.0082 -0.1412)
OKLCHoklch(41.7% 0.141 266.7)
XYZxyz(8.6471, 6.8718, 30.5703)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294498 #987D29
analogous
#297C98 #294498 #452998
triadic
#294498 #982944 #449829
tetradic
#294498 #98297C #987D29 #299845
square
#294498 #98297C #987D29 #299845
split-complementary
#294498 #984529 #7C9829
monochromatic
#0F1938 #1C2E68 #294498 #365AC8 #6681D6

Accessibility & contrast

On white

8.84
#294498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #294498
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294498#FFFFFF#000000##FFFFFF
##2944981.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#004596
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #294498;
/* rgb */ color: rgb(41, 68, 152);
/* oklch */ color: oklch(41.7% 0.141 266.7);
Tailwind
colors: {
  custom: {
    50: '#7277b7',
    500: '#294498',
    950: '#000000',
  },
}
SCSS
$custom: #294498;
$custom-light: #7277b7;
$custom-dark: #000000;
JSON
{
  "hex": "#294498",
  "rgb": {
    "r": 41,
    "g": 68,
    "b": 152
  },
  "hsl": {
    "h": 225.405,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.14143,
    "h": 266.7
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#294498
secondary
#BCA661
accent
#BB47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294498

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

Preview Lab → · Contrast checker → · Palette generator →

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