#294789#294789

#294789 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.116 H 263.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#294789
RGBrgb(41, 71, 137)
HSLhsl(221, 54%, 35%)
HSVhsv(221, 70%, 54%)
CMYKcmyk(70.1%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.31, 12.26, -40.19)
CIE-LCHlch(31.31, 42.02, 286.96°)
OKLaboklab(41.2% -0.0127 -0.1151)
OKLCHoklch(41.2% 0.116 263.7)
XYZxyz(7.6815, 6.7833, 24.5665)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294789 #896B29
analogous
#297789 #294789 #3B2989
triadic
#294789 #892947 #478929
tetradic
#294789 #892977 #896B29 #29893B
square
#294789 #892977 #896B29 #29893B
split-complementary
#294789 #893B29 #778929
monochromatic
#0D162B #1B2F5A #294789 #375FB8 #5E81CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##294789#FFFFFF#000000##FFFFFF
##2947891.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)
#254E8B
Deuteranopia (green-blind)
#104688
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #294789;
/* rgb */ color: rgb(41, 71, 137);
/* oklch */ color: oklch(41.2% 0.116 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f79ac',
    500: '#294789',
    950: '#000000',
  },
}
SCSS
$custom: #294789;
$custom-light: #6f79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#294789",
  "rgb": {
    "r": 41,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 221.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41201,
    "c": 0.1158,
    "h": 263.7
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#294789
secondary
#B4985A
accent
#AF4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #294789

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

Preview Lab → · Contrast checker → · Palette generator →

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