#294172#294172

#294172 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.2% C 0.089 H 263.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#294172
RGBrgb(41, 65, 114)
HSLhsl(220, 47%, 30%)
HSVhsv(220, 64%, 45%)
CMYKcmyk(64%, 43%, 0%, 55.3%)
CIE-LABlab(28.02, 7.55, -31.08)
CIE-LCHlch(28.02, 31.98, 283.66°)
OKLaboklab(38.2% -0.0106 -0.0884)
OKLCHoklch(38.2% 0.089 263.1)
XYZxyz(5.8410, 5.4664, 16.6636)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294172 #725A29
analogous
#296572 #294172 #352972
triadic
#294172 #722941 #417229
tetradic
#294172 #722965 #725A29 #297235
square
#294172 #722965 #725A29 #297235
split-complementary
#294172 #723529 #657229
monochromatic
#090E18 #192745 #294172 #395B9F #5478C1

Accessibility & contrast

On white

10.03
#294172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#294172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294172
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294172#FFFFFF#000000##FFFFFF
##2941721.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4674
Deuteranopia (green-blind)
#213F71
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #294172;
/* rgb */ color: rgb(41, 65, 114);
/* oklch */ color: oklch(38.2% 0.089 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a759b',
    500: '#294172',
    950: '#000000',
  },
}
SCSS
$custom: #294172;
$custom-light: #6a759b;
$custom-dark: #000000;
JSON
{
  "hex": "#294172",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 220.274,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.38199,
    "c": 0.08906,
    "h": 263.1
  },
  "luminance": 0.05467
}

Semantic roles & 50–950 ramp

primary
#294172
secondary
#A48953
accent
#AB51D7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294172

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

Preview Lab → · Contrast checker → · Palette generator →

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