#294497#294497

#294497 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.140 H 266.6°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#294497
RGBrgb(41, 68, 151)
HSLhsl(225, 57%, 38%)
HSVhsv(225, 73%, 59%)
CMYKcmyk(72.8%, 55%, 0%, 40.8%)
CIE-LABlab(31.44, 19.70, -48.56)
CIE-LCHlch(31.44, 52.40, 292.08°)
OKLaboklab(41.62% -0.0082 -0.1398)
OKLCHoklch(41.62% 0.14 266.6)
XYZxyz(8.5655, 6.8391, 30.1408)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294497 #977C29
analogous
#297B97 #294497 #452997
triadic
#294497 #972944 #449729
tetradic
#294497 #97297B #977C29 #299745
square
#294497 #97297B #977C29 #299745
split-complementary
#294497 #974529 #7B9729
monochromatic
#0F1937 #1C2E67 #294497 #365AC7 #6581D5

Accessibility & contrast

On white

8.87
#294497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #294497
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294497#FFFFFF#000000##FFFFFF
##2944971.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#004595
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #294497;
/* rgb */ color: rgb(41, 68, 151);
/* oklch */ color: oklch(41.6% 0.140 266.6);
Tailwind
colors: {
  custom: {
    50: '#7277b6',
    500: '#294497',
    950: '#000000',
  },
}
SCSS
$custom: #294497;
$custom-light: #7277b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294497",
  "rgb": {
    "r": 41,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 225.273,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41616,
    "c": 0.14,
    "h": 266.6
  },
  "luminance": 0.0684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #294497

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

Preview Lab → · Contrast checker → · Palette generator →

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