#294399#294399

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

Color values

HEX#294399
RGBrgb(41, 67, 153)
HSLhsl(226, 58%, 38%)
HSVhsv(226, 73%, 60%)
CMYKcmyk(73.2%, 56.2%, 0%, 40%)
CIE-LABlab(31.31, 21.14, -49.98)
CIE-LCHlch(31.31, 54.26, 292.93°)
OKLaboklab(41.57% -0.0072 -0.144)
OKLCHoklch(41.57% 0.144 267.1)
XYZxyz(8.6694, 6.7847, 30.9835)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294399 #997F29
analogous
#297B99 #294399 #472999
triadic
#294399 #992943 #439929
tetradic
#294399 #99297B #997F29 #299947
square
#294399 #99297B #997F29 #299947
split-complementary
#294399 #994729 #7B9929
monochromatic
#0F1938 #1C2E69 #294399 #3658C9 #6680D6

Accessibility & contrast

On white

8.91
#294399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#294399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294399
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294399#FFFFFF#000000##FFFFFF
##2943991.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #294399;
/* rgb */ color: rgb(41, 67, 153);
/* oklch */ color: oklch(41.6% 0.144 267.1);
Tailwind
colors: {
  custom: {
    50: '#7276b8',
    500: '#294399',
    950: '#000000',
  },
}
SCSS
$custom: #294399;
$custom-light: #7276b8;
$custom-dark: #000000;
JSON
{
  "hex": "#294399",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 226.071,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.14414,
    "h": 267.1
  },
  "luminance": 0.06786
}

Semantic roles & 50–950 ramp

primary
#294399
secondary
#BCA762
accent
#BD47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #294399

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

Preview Lab → · Contrast checker → · Palette generator →

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