#294397#294397

#294397 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.141 H 267.0°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#294397
RGBrgb(41, 67, 151)
HSLhsl(226, 57%, 38%)
HSVhsv(226, 73%, 59%)
CMYKcmyk(72.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(31.16, 20.37, -49.01)
CIE-LCHlch(31.16, 53.07, 292.57°)
OKLaboklab(41.4% -0.0074 -0.1411)
OKLCHoklch(41.4% 0.141 267)
XYZxyz(8.5056, 6.7192, 30.1208)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294397 #977D29
analogous
#297A97 #294397 #462997
triadic
#294397 #972943 #439729
tetradic
#294397 #97297A #977D29 #299746
square
#294397 #97297A #977D29 #299746
split-complementary
#294397 #974629 #7A9729
monochromatic
#0F1837 #1C2E67 #294397 #3658C7 #6580D5

Accessibility & contrast

On white

8.96
#294397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#294397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294397
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294397#FFFFFF#000000##FFFFFF
##2943971.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #294397;
/* rgb */ color: rgb(41, 67, 151);
/* oklch */ color: oklch(41.4% 0.141 267.0);
Tailwind
colors: {
  custom: {
    50: '#7276b6',
    500: '#294397',
    950: '#000000',
  },
}
SCSS
$custom: #294397;
$custom-light: #7276b6;
$custom-dark: #000000;
JSON
{
  "hex": "#294397",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 225.818,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.1413,
    "h": 267
  },
  "luminance": 0.0672
}

Semantic roles & 50–950 ramp

primary
#294397
secondary
#BBA661
accent
#BC47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294397

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

Preview Lab → · Contrast checker → · Palette generator →

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