#294F98#294F98

#294F98 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.127 H 261.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#294F98
RGBrgb(41, 79, 152)
HSLhsl(219, 58%, 38%)
HSVhsv(219, 73%, 60%)
CMYKcmyk(73%, 48%, 0%, 40.4%)
CIE-LABlab(34.66, 12.67, -43.96)
CIE-LCHlch(34.66, 45.75, 286.07°)
OKLaboklab(44.09% -0.0179 -0.1261)
OKLCHoklch(44.09% 0.127 261.9)
XYZxyz(9.3759, 8.3294, 30.8133)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294F98 #987229
analogous
#298798 #294F98 #3A2998
triadic
#294F98 #98294F #4F9829
tetradic
#294F98 #982987 #987229 #29983A
square
#294F98 #982987 #987229 #29983A
split-complementary
#294F98 #983A29 #879829
monochromatic
#0F1D38 #1C3668 #294F98 #3668C8 #668CD6

Accessibility & contrast

On white

7.88
#294F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#294F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294F98
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294F98#FFFFFF#000000##FFFFFF
##294F981.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28579B
Deuteranopia (green-blind)
#0D4D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #294f98;
/* rgb */ color: rgb(41, 79, 152);
/* oklch */ color: oklch(44.1% 0.127 261.9);
Tailwind
colors: {
  custom: {
    50: '#727fb7',
    500: '#294f98',
    950: '#000000',
  },
}
SCSS
$custom: #294f98;
$custom-light: #727fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#294f98",
  "rgb": {
    "r": 41,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 219.459,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44091,
    "c": 0.12732,
    "h": 261.9
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#294F98
secondary
#BC9D61
accent
#AC47E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #294F98

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

Preview Lab → · Contrast checker → · Palette generator →

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