#294170#294170

#294170 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.086 H 262.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#294170
RGBrgb(41, 65, 112)
HSLhsl(220, 46%, 30%)
HSVhsv(220, 63%, 44%)
CMYKcmyk(63.4%, 42%, 0%, 56.1%)
CIE-LABlab(27.90, 6.80, -30.00)
CIE-LCHlch(27.90, 30.76, 282.77°)
OKLaboklab(38.07% -0.0111 -0.0853)
OKLCHoklch(38.07% 0.086 262.6)
XYZxyz(5.7284, 5.4214, 16.0706)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#294170 #705829
analogous
#296570 #294170 #342970
triadic
#294170 #702941 #417029
tetradic
#294170 #702965 #705829 #297034
square
#294170 #702965 #705829 #297034
split-complementary
#294170 #703429 #657029
monochromatic
#080D16 #192743 #294170 #395B9D #5378C0

Accessibility & contrast

On white

10.07
#294170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#294170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #294170
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##294170#FFFFFF#000000##FFFFFF
##2941701.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4572
Deuteranopia (green-blind)
#233F6F
Tritanopia (blue-blind)
#004C53
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #294170;
/* rgb */ color: rgb(41, 65, 112);
/* oklch */ color: oklch(38.1% 0.086 262.6);
Tailwind
colors: {
  custom: {
    50: '#6a7599',
    500: '#294170',
    950: '#000000',
  },
}
SCSS
$custom: #294170;
$custom-light: #6a7599;
$custom-dark: #000000;
JSON
{
  "hex": "#294170",
  "rgb": {
    "r": 41,
    "g": 65,
    "b": 112
  },
  "hsl": {
    "h": 219.718,
    "s": 46.405,
    "l": 30
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.08598,
    "h": 262.6
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#294170
secondary
#A28753
accent
#A952D6
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #294170

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

Preview Lab → · Contrast checker → · Palette generator →

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