#294E98#294E98

#294E98 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.129 H 262.4°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#294E98
RGBrgb(41, 78, 152)
HSLhsl(220, 58%, 38%)
HSVhsv(220, 73%, 60%)
CMYKcmyk(73%, 48.7%, 0%, 40.4%)
CIE-LABlab(34.37, 13.33, -44.43)
CIE-LCHlch(34.37, 46.39, 286.70°)
OKLaboklab(43.87% -0.017 -0.1275)
OKLCHoklch(43.87% 0.129 262.4)
XYZxyz(9.3043, 8.1862, 30.7894)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294E98 #987329
analogous
#298598 #294E98 #3B2998
triadic
#294E98 #98294E #4E9829
tetradic
#294E98 #982985 #987329 #29983B
square
#294E98 #982985 #987329 #29983B
split-complementary
#294E98 #983B29 #859829
monochromatic
#0F1D38 #1C3568 #294E98 #3667C8 #668BD6

Accessibility & contrast

On white

7.96
#294E98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#294E98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294E98
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294E98#FFFFFF#000000##FFFFFF
##294E981.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26569B
Deuteranopia (green-blind)
#074C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #294e98;
/* rgb */ color: rgb(41, 78, 152);
/* oklch */ color: oklch(43.9% 0.129 262.4);
Tailwind
colors: {
  custom: {
    50: '#727fb7',
    500: '#294e98',
    950: '#000000',
  },
}
SCSS
$custom: #294e98;
$custom-light: #727fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#294e98",
  "rgb": {
    "r": 41,
    "g": 78,
    "b": 152
  },
  "hsl": {
    "h": 220,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43867,
    "c": 0.12859,
    "h": 262.4
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#294E98
secondary
#BC9E61
accent
#AE47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #294E98

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

Preview Lab → · Contrast checker → · Palette generator →

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