#224172#224172

#224172 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.8% C 0.092 H 259.2°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#224172
RGBrgb(34, 65, 114)
HSLhsl(217, 54%, 29%)
HSVhsv(217, 70%, 45%)
CMYKcmyk(70.2%, 43%, 0%, 55.3%)
CIE-LABlab(27.67, 6.17, -31.66)
CIE-LCHlch(27.67, 32.26, 281.03°)
OKLaboklab(37.83% -0.0172 -0.0903)
OKLCHoklch(37.83% 0.092 259.2)
XYZxyz(5.5862, 5.3350, 16.6517)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224172 #725322
analogous
#226972 #224172 #2B2272
triadic
#224172 #722241 #417222
tetradic
#224172 #722269 #725322 #22722B
square
#224172 #722269 #725322 #22722B
split-complementary
#224172 #722B22 #697222
monochromatic
#070D18 #142643 #224172 #305CA1 #4679C8

Accessibility & contrast

On white

10.16
#224172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224172
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224172#FFFFFF#000000##FFFFFF
##2241721.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4574
Deuteranopia (green-blind)
#1E3E71
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #224172;
/* rgb */ color: rgb(34, 65, 114);
/* oklch */ color: oklch(37.8% 0.092 259.2);
Tailwind
colors: {
  custom: {
    50: '#67759b',
    500: '#224172',
    950: '#000000',
  },
}
SCSS
$custom: #224172;
$custom-light: #67759b;
$custom-dark: #000000;
JSON
{
  "hex": "#224172",
  "rgb": {
    "r": 34,
    "g": 65,
    "b": 114
  },
  "hsl": {
    "h": 216.75,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37827,
    "c": 0.09189,
    "h": 259.2
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#224172
secondary
#A5824B
accent
#A44ADD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06080E
muted
#7A7B7E

Preview Lab

Preview with #224172

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

Preview Lab → · Contrast checker → · Palette generator →

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