#224871#224871

#224871 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.5% C 0.082 H 252.2°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#224871
RGBrgb(34, 72, 113)
HSLhsl(211, 54%, 29%)
HSVhsv(211, 70%, 44%)
CMYKcmyk(69.9%, 36.3%, 0%, 55.7%)
CIE-LABlab(29.83, 1.07, -27.60)
CIE-LCHlch(29.83, 27.62, 272.21°)
OKLaboklab(39.49% -0.0252 -0.0783)
OKLCHoklch(39.49% 0.082 252.2)
XYZxyz(5.9566, 6.1665, 16.4959)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224871 #714B22
analogous
#227071 #224871 #242271
triadic
#224871 #712248 #487122
tetradic
#224871 #712270 #714B22 #227124
square
#224871 #712270 #714B22 #227124
split-complementary
#224871 #712422 #707122
monochromatic
#070F18 #142A42 #224871 #3066A0 #4684C7

Accessibility & contrast

On white

9.40
#224871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#224871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224871
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224871#FFFFFF#000000##FFFFFF
##2248711.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A73
Deuteranopia (green-blind)
#2B4370
Tritanopia (blue-blind)
#005257
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #224871;
/* rgb */ color: rgb(34, 72, 113);
/* oklch */ color: oklch(39.5% 0.082 252.2);
Tailwind
colors: {
  custom: {
    50: '#677a9a',
    500: '#224871',
    950: '#000000',
  },
}
SCSS
$custom: #224871;
$custom-light: #677a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#224871",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 113
  },
  "hsl": {
    "h": 211.139,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3949,
    "c": 0.08224,
    "h": 252.2
  },
  "luminance": 0.06167
}

Semantic roles & 50–950 ramp

primary
#224871
secondary
#A4794A
accent
#974BDD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #224871

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

Preview Lab → · Contrast checker → · Palette generator →

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