#224173#224173

#224173 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.093 H 259.5°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#224173
RGBrgb(34, 65, 115)
HSLhsl(217, 54%, 29%)
HSVhsv(217, 70%, 45%)
CMYKcmyk(70.4%, 43.5%, 0%, 54.9%)
CIE-LABlab(27.73, 6.57, -32.20)
CIE-LCHlch(27.73, 32.86, 281.53°)
OKLaboklab(37.9% -0.017 -0.0918)
OKLCHoklch(37.9% 0.093 259.5)
XYZxyz(5.6434, 5.3579, 16.9531)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224173 #735422
analogous
#226A73 #224173 #2C2273
triadic
#224173 #732241 #417322
tetradic
#224173 #73226A #735422 #22732C
square
#224173 #73226A #735422 #22732C
split-complementary
#224173 #732C22 #6A7322
monochromatic
#070D18 #142644 #224173 #305CA2 #4778C9

Accessibility & contrast

On white

10.14
#224173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#224173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224173
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224173#FFFFFF#000000##FFFFFF
##2241731.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4675
Deuteranopia (green-blind)
#1D3E72
Tritanopia (blue-blind)
#004D54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #224173;
/* rgb */ color: rgb(34, 65, 115);
/* oklch */ color: oklch(37.9% 0.093 259.5);
Tailwind
colors: {
  custom: {
    50: '#67759b',
    500: '#224173',
    950: '#000000',
  },
}
SCSS
$custom: #224173;
$custom-light: #67759b;
$custom-dark: #000000;
JSON
{
  "hex": "#224173",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 217.037,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37895,
    "c": 0.09339,
    "h": 259.5
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#224173
secondary
#A6834B
accent
#A54ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #224173

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

Preview Lab → · Contrast checker → · Palette generator →

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