#224174#224174

#224174 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.0% C 0.095 H 259.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#224174
RGBrgb(34, 65, 116)
HSLhsl(217, 55%, 29%)
HSVhsv(217, 71%, 45%)
CMYKcmyk(70.7%, 44%, 0%, 54.5%)
CIE-LABlab(27.79, 6.96, -32.73)
CIE-LCHlch(27.79, 33.46, 282.00°)
OKLaboklab(37.96% -0.0167 -0.0934)
OKLCHoklch(37.96% 0.095 259.8)
XYZxyz(5.7012, 5.3811, 17.2578)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224174 #745522
analogous
#226A74 #224174 #2C2274
triadic
#224174 #742241 #417422
tetradic
#224174 #74226A #745522 #22742C
square
#224174 #74226A #745522 #22742C
split-complementary
#224174 #742C22 #6A7422
monochromatic
#070D18 #142645 #224174 #305CA3 #4778C9

Accessibility & contrast

On white

10.11
#224174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224174
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224174#FFFFFF#000000##FFFFFF
##2241741.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294676
Deuteranopia (green-blind)
#1C3E73
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #224174;
/* rgb */ color: rgb(34, 65, 116);
/* oklch */ color: oklch(38.0% 0.095 259.8);
Tailwind
colors: {
  custom: {
    50: '#67759c',
    500: '#224174',
    950: '#000000',
  },
}
SCSS
$custom: #224174;
$custom-light: #67759c;
$custom-dark: #000000;
JSON
{
  "hex": "#224174",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 217.317,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37964,
    "c": 0.09489,
    "h": 259.8
  },
  "luminance": 0.05382
}

Semantic roles & 50–950 ramp

primary
#224174
secondary
#A7844B
accent
#A64ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224174

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

Preview Lab → · Contrast checker → · Palette generator →

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