#294897#294897

#294897 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.135 H 265.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#294897
RGBrgb(41, 72, 151)
HSLhsl(223, 57%, 38%)
HSVhsv(223, 73%, 59%)
CMYKcmyk(72.8%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.57, 16.99, -46.73)
CIE-LCHlch(32.57, 49.72, 289.98°)
OKLaboklab(42.47% -0.0117 -0.1343)
OKLCHoklch(42.47% 0.135 265)
XYZxyz(8.8158, 7.3396, 30.2242)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294897 #977829
analogous
#297F97 #294897 #412997
triadic
#294897 #972948 #489729
tetradic
#294897 #97297F #977829 #299741
square
#294897 #97297F #977829 #299741
split-complementary
#294897 #974129 #7F9729
monochromatic
#0F1A37 #1C3167 #294897 #365FC7 #6585D5

Accessibility & contrast

On white

8.51
#294897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#294897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294897
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294897#FFFFFF#000000##FFFFFF
##2948971.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #294897;
/* rgb */ color: rgb(41, 72, 151);
/* oklch */ color: oklch(42.5% 0.135 265.0);
Tailwind
colors: {
  custom: {
    50: '#727ab6',
    500: '#294897',
    950: '#000000',
  },
}
SCSS
$custom: #294897;
$custom-light: #727ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#294897",
  "rgb": {
    "r": 41,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 223.091,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42472,
    "c": 0.13483,
    "h": 265
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#294897
secondary
#BBA261
accent
#B547E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #294897

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

Preview Lab → · Contrast checker → · Palette generator →

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