#294997#294997

#294997 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.7% C 0.134 H 264.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#294997
RGBrgb(41, 73, 151)
HSLhsl(223, 57%, 38%)
HSVhsv(223, 73%, 59%)
CMYKcmyk(72.8%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.85, 16.31, -46.27)
CIE-LCHlch(32.85, 49.06, 289.42°)
OKLaboklab(42.69% -0.0126 -0.1329)
OKLCHoklch(42.69% 0.134 264.6)
XYZxyz(8.8809, 7.4699, 30.2460)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294997 #977729
analogous
#298097 #294997 #402997
triadic
#294997 #972949 #499729
tetradic
#294997 #972980 #977729 #299740
square
#294997 #972980 #977729 #299740
split-complementary
#294997 #974029 #809729
monochromatic
#0F1A37 #1C3267 #294997 #3660C7 #6586D5

Accessibility & contrast

On white

8.42
#294997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#294997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294997
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294997#FFFFFF#000000##FFFFFF
##2949971.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #294997;
/* rgb */ color: rgb(41, 73, 151);
/* oklch */ color: oklch(42.7% 0.134 264.6);
Tailwind
colors: {
  custom: {
    50: '#727bb6',
    500: '#294997',
    950: '#000000',
  },
}
SCSS
$custom: #294997;
$custom-light: #727bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#294997",
  "rgb": {
    "r": 41,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 222.545,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42689,
    "c": 0.13354,
    "h": 264.6
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#294997
secondary
#BBA161
accent
#B447E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #294997

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

Preview Lab → · Contrast checker → · Palette generator →

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