#294698#294698

#294698 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.139 H 265.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#294698
RGBrgb(41, 70, 152)
HSLhsl(224, 58%, 38%)
HSVhsv(224, 73%, 60%)
CMYKcmyk(73%, 53.9%, 0%, 40.4%)
CIE-LABlab(32.07, 18.73, -48.13)
CIE-LCHlch(32.07, 51.65, 291.26°)
OKLaboklab(42.12% -0.0099 -0.1385)
OKLCHoklch(42.12% 0.139 265.9)
XYZxyz(8.7701, 7.1178, 30.6114)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294698 #987B29
analogous
#297E98 #294698 #432998
triadic
#294698 #982946 #469829
tetradic
#294698 #98297E #987B29 #299843
square
#294698 #98297E #987B29 #299843
split-complementary
#294698 #984329 #7E9829
monochromatic
#0F1A38 #1C3068 #294698 #365CC8 #6683D6

Accessibility & contrast

On white

8.66
#294698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#294698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294698
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294698#FFFFFF#000000##FFFFFF
##2946981.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #294698;
/* rgb */ color: rgb(41, 70, 152);
/* oklch */ color: oklch(42.1% 0.139 265.9);
Tailwind
colors: {
  custom: {
    50: '#7279b7',
    500: '#294698',
    950: '#000000',
  },
}
SCSS
$custom: #294698;
$custom-light: #7279b7;
$custom-dark: #000000;
JSON
{
  "hex": "#294698",
  "rgb": {
    "r": 41,
    "g": 70,
    "b": 152
  },
  "hsl": {
    "h": 224.324,
    "s": 57.513,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4212,
    "c": 0.13884,
    "h": 265.9
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#294698
secondary
#BCA461
accent
#B947E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #294698

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

Preview Lab → · Contrast checker → · Palette generator →

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