#294279#294279

#294279 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.9% C 0.098 H 264.0°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#294279
RGBrgb(41, 66, 121)
HSLhsl(221, 49%, 32%)
HSVhsv(221, 66%, 47%)
CMYKcmyk(66.1%, 45.5%, 0%, 52.5%)
CIE-LABlab(28.77, 9.53, -34.31)
CIE-LCHlch(28.77, 35.61, 285.52°)
OKLaboklab(38.91% -0.0103 -0.0979)
OKLCHoklch(38.91% 0.098 264)
XYZxyz(6.3127, 5.7477, 18.8622)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294279 #796029
analogous
#296A79 #294279 #382979
triadic
#294279 #792942 #427929
tetradic
#294279 #79296A #796029 #297938
square
#294279 #79296A #796029 #297938
split-complementary
#294279 #793829 #6A7929
monochromatic
#0A101E #1A294B #294279 #385BA7 #5679C6

Accessibility & contrast

On white

9.77
#294279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#294279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294279
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294279#FFFFFF#000000##FFFFFF
##2942791.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28487B
Deuteranopia (green-blind)
#1C4078
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #294279;
/* rgb */ color: rgb(41, 66, 121);
/* oklch */ color: oklch(38.9% 0.098 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b76a0',
    500: '#294279',
    950: '#000000',
  },
}
SCSS
$custom: #294279;
$custom-light: #6b76a0;
$custom-dark: #000000;
JSON
{
  "hex": "#294279",
  "rgb": {
    "r": 41,
    "g": 66,
    "b": 121
  },
  "hsl": {
    "h": 221.25,
    "s": 49.383,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38913,
    "c": 0.09842,
    "h": 264
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#294279
secondary
#AB8F53
accent
#AE4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #294279

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

Preview Lab → · Contrast checker → · Palette generator →

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