#224874#224874

#224874 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.7% C 0.087 H 253.7°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#224874
RGBrgb(34, 72, 116)
HSLhsl(212, 55%, 29%)
HSVhsv(212, 71%, 45%)
CMYKcmyk(70.7%, 37.9%, 0%, 54.5%)
CIE-LABlab(30.00, 2.23, -29.23)
CIE-LCHlch(30.00, 29.31, 274.36°)
OKLaboklab(39.68% -0.0243 -0.083)
OKLCHoklch(39.68% 0.087 253.7)
XYZxyz(6.1283, 6.2351, 17.4001)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224874 #744E22
analogous
#227174 #224874 #252274
triadic
#224874 #742248 #487422
tetradic
#224874 #742271 #744E22 #227425
square
#224874 #742271 #744E22 #227425
split-complementary
#224874 #742522 #717422
monochromatic
#070F18 #142B45 #224874 #3065A3 #4783C9

Accessibility & contrast

On white

9.34
#224874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#224874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224874
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224874#FFFFFF#000000##FFFFFF
##2248741.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B76
Deuteranopia (green-blind)
#294373
Tritanopia (blue-blind)
#005258
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224874;
/* rgb */ color: rgb(34, 72, 116);
/* oklch */ color: oklch(39.7% 0.087 253.7);
Tailwind
colors: {
  custom: {
    50: '#677a9c',
    500: '#224874',
    950: '#000000',
  },
}
SCSS
$custom: #224874;
$custom-light: #677a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#224874",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 212.195,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.08651,
    "h": 253.7
  },
  "luminance": 0.06236
}

Semantic roles & 50–950 ramp

primary
#224874
secondary
#A77C4B
accent
#994ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #224874

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

Preview Lab → · Contrast checker → · Palette generator →

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