#224872#224872

#224872 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.084 H 252.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#224872
RGBrgb(34, 72, 114)
HSLhsl(212, 54%, 29%)
HSVhsv(212, 70%, 45%)
CMYKcmyk(70.2%, 36.8%, 0%, 55.3%)
CIE-LABlab(29.88, 1.45, -28.15)
CIE-LCHlch(29.88, 28.18, 272.96°)
OKLaboklab(39.55% -0.0249 -0.0799)
OKLCHoklch(39.55% 0.084 252.7)
XYZxyz(6.0132, 6.1891, 16.7940)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224872 #724C22
analogous
#227072 #224872 #242272
triadic
#224872 #722248 #487222
tetradic
#224872 #722270 #724C22 #227224
square
#224872 #722270 #724C22 #227224
split-complementary
#224872 #722422 #707222
monochromatic
#070F18 #142A43 #224872 #3066A1 #4684C8

Accessibility & contrast

On white

9.38
#224872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#224872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224872
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224872#FFFFFF#000000##FFFFFF
##2248721.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B74
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #224872;
/* rgb */ color: rgb(34, 72, 114);
/* oklch */ color: oklch(39.6% 0.084 252.7);
Tailwind
colors: {
  custom: {
    50: '#677a9b',
    500: '#224872',
    950: '#000000',
  },
}
SCSS
$custom: #224872;
$custom-light: #677a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#224872",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 211.5,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39552,
    "c": 0.08366,
    "h": 252.7
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#224872
secondary
#A57A4B
accent
#984ADD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #224872

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

Preview Lab → · Contrast checker → · Palette generator →

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