#224978#224978

#224978 is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.2% C 0.091 H 254.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#224978
RGBrgb(34, 73, 120)
HSLhsl(213, 56%, 30%)
HSVhsv(213, 72%, 47%)
CMYKcmyk(71.7%, 39.2%, 0%, 52.9%)
CIE-LABlab(30.55, 3.12, -30.87)
CIE-LCHlch(30.55, 31.02, 275.76°)
OKLaboklab(40.18% -0.0243 -0.0878)
OKLCHoklch(40.18% 0.091 254.5)
XYZxyz(6.4312, 6.4606, 18.6737)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224978 #785122
analogous
#227478 #224978 #262278
triadic
#224978 #782249 #497822
tetradic
#224978 #782274 #785122 #227826
square
#224978 #782274 #785122 #227826
split-complementary
#224978 #782622 #747822
monochromatic
#070F19 #142C48 #224978 #3066A8 #4984CB

Accessibility & contrast

On white

9.16
#224978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#224978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224978
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224978#FFFFFF#000000##FFFFFF
##2249781.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C7A
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#00545A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #224978;
/* rgb */ color: rgb(34, 73, 120);
/* oklch */ color: oklch(40.2% 0.091 254.5);
Tailwind
colors: {
  custom: {
    50: '#687b9f',
    500: '#224978',
    950: '#000000',
  },
}
SCSS
$custom: #224978;
$custom-light: #687b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#224978",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 120
  },
  "hsl": {
    "h": 212.791,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40181,
    "c": 0.09111,
    "h": 254.5
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#224978
secondary
#AB7F4B
accent
#9B49DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #224978

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

Preview Lab → · Contrast checker → · Palette generator →

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