#224873#224873

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

Color values

HEX#224873
RGBrgb(34, 72, 115)
HSLhsl(212, 54%, 29%)
HSVhsv(212, 70%, 45%)
CMYKcmyk(70.4%, 37.4%, 0%, 54.9%)
CIE-LABlab(29.94, 1.84, -28.69)
CIE-LCHlch(29.94, 28.75, 273.67°)
OKLaboklab(39.62% -0.0246 -0.0814)
OKLCHoklch(39.62% 0.085 253.2)
XYZxyz(6.0704, 6.2120, 17.0954)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224873 #734D22
analogous
#227173 #224873 #252273
triadic
#224873 #732248 #487322
tetradic
#224873 #732271 #734D22 #227325
square
#224873 #732271 #734D22 #227325
split-complementary
#224873 #732522 #717322
monochromatic
#070F18 #142A44 #224873 #3066A2 #4784C9

Accessibility & contrast

On white

9.36
#224873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224873
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224873#FFFFFF#000000##FFFFFF
##2248731.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B75
Deuteranopia (green-blind)
#294372
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224873;
/* rgb */ color: rgb(34, 72, 115);
/* oklch */ color: oklch(39.6% 0.085 253.2);
Tailwind
colors: {
  custom: {
    50: '#677a9b',
    500: '#224873',
    950: '#000000',
  },
}
SCSS
$custom: #224873;
$custom-light: #677a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#224873",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 211.852,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.08509,
    "h": 253.2
  },
  "luminance": 0.06213
}

Semantic roles & 50–950 ramp

primary
#224873
secondary
#A67B4B
accent
#984ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#06090E
muted
#7A7B7E

Preview Lab

Preview with #224873

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

Preview Lab → · Contrast checker → · Palette generator →

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