#294374#294374

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

Color values

HEX#294374
RGBrgb(41, 67, 116)
HSLhsl(219, 48%, 31%)
HSVhsv(219, 65%, 45%)
CMYKcmyk(64.7%, 42.2%, 0%, 54.5%)
CIE-LABlab(28.76, 6.95, -31.17)
CIE-LCHlch(28.76, 31.93, 282.57°)
OKLaboklab(38.81% -0.0125 -0.0887)
OKLCHoklch(38.81% 0.09 262)
XYZxyz(6.0729, 5.7461, 17.3087)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294374 #745A29
analogous
#296874 #294374 #342974
triadic
#294374 #742943 #437429
tetradic
#294374 #742968 #745A29 #297434
square
#294374 #742968 #745A29 #297434
split-complementary
#294374 #743429 #687429
monochromatic
#090F1A #192947 #294374 #395DA1 #557BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##294374#FFFFFF#000000##FFFFFF
##2943741.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)
#2D4876
Deuteranopia (green-blind)
#234173
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #294374;
/* rgb */ color: rgb(41, 67, 116);
/* oklch */ color: oklch(38.8% 0.090 262.0);
Tailwind
colors: {
  custom: {
    50: '#6a769c',
    500: '#294374',
    950: '#000000',
  },
}
SCSS
$custom: #294374;
$custom-light: #6a769c;
$custom-dark: #000000;
JSON
{
  "hex": "#294374",
  "rgb": {
    "r": 41,
    "g": 67,
    "b": 116
  },
  "hsl": {
    "h": 219.2,
    "s": 47.771,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38809,
    "c": 0.08953,
    "h": 262
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#294374
secondary
#A68953
accent
#A950D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294374

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

Preview Lab → · Contrast checker → · Palette generator →

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