#294174#294174

#294174 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.092 H 263.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#294174
RGBrgb(41, 65, 116)
HSLhsl(221, 48%, 31%)
HSVhsv(221, 65%, 45%)
CMYKcmyk(64.7%, 44%, 0%, 54.5%)
CIE-LABlab(28.15, 8.31, -32.14)
CIE-LCHlch(28.15, 33.20, 284.49°)
OKLaboklab(38.33% -0.0102 -0.0916)
OKLCHoklch(38.33% 0.092 263.6)
XYZxyz(5.9560, 5.5124, 17.2697)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294174 #745C29
analogous
#296674 #294174 #362974
triadic
#294174 #742941 #417429
tetradic
#294174 #742966 #745C29 #297436
square
#294174 #742966 #745C29 #297436
split-complementary
#294174 #743629 #667429
monochromatic
#090E1A #192847 #294174 #395AA1 #5578C3

Accessibility & contrast

On white

9.99
#294174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#294174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294174
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294174#FFFFFF#000000##FFFFFF
##2941741.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4676
Deuteranopia (green-blind)
#1F3F73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #294174;
/* rgb */ color: rgb(41, 65, 116);
/* oklch */ color: oklch(38.3% 0.092 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b759c',
    500: '#294174',
    950: '#000000',
  },
}
SCSS
$custom: #294174;
$custom-light: #6b759c;
$custom-dark: #000000;
JSON
{
  "hex": "#294174",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 220.8,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38334,
    "c": 0.09212,
    "h": 263.6
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#294174
secondary
#A68B53
accent
#AC50D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294174

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

Preview Lab → · Contrast checker → · Palette generator →

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