#294797#294797

#294797 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.3% C 0.136 H 265.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#294797
RGBrgb(41, 71, 151)
HSLhsl(224, 57%, 38%)
HSVhsv(224, 73%, 59%)
CMYKcmyk(72.8%, 53%, 0%, 40.8%)
CIE-LABlab(32.28, 17.66, -47.19)
CIE-LCHlch(32.28, 50.39, 290.52°)
OKLaboklab(42.26% -0.0108 -0.1357)
OKLCHoklch(42.26% 0.136 265.4)
XYZxyz(8.7516, 7.2113, 30.2029)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294797 #977929
analogous
#297E97 #294797 #422997
triadic
#294797 #972947 #479729
tetradic
#294797 #97297E #977929 #299742
square
#294797 #97297E #977929 #299742
split-complementary
#294797 #974229 #7E9729
monochromatic
#0F1A37 #1C3067 #294797 #365EC7 #6584D5

Accessibility & contrast

On white

8.60
#294797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#294797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294797
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294797#FFFFFF#000000##FFFFFF
##2947971.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13519A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #294797;
/* rgb */ color: rgb(41, 71, 151);
/* oklch */ color: oklch(42.3% 0.136 265.4);
Tailwind
colors: {
  custom: {
    50: '#7279b6',
    500: '#294797',
    950: '#000000',
  },
}
SCSS
$custom: #294797;
$custom-light: #7279b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294797",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 223.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42256,
    "c": 0.13612,
    "h": 265.4
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#294797
secondary
#BBA361
accent
#B747E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #294797

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

Preview Lab → · Contrast checker → · Palette generator →

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