#224878#224878

#224878 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.9% C 0.092 H 255.4°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#224878
RGBrgb(34, 72, 120)
HSLhsl(213, 56%, 30%)
HSVhsv(213, 72%, 47%)
CMYKcmyk(71.7%, 40%, 0%, 52.9%)
CIE-LABlab(30.23, 3.78, -31.37)
CIE-LCHlch(30.23, 31.59, 276.88°)
OKLaboklab(39.93% -0.0232 -0.0893)
OKLCHoklch(39.93% 0.092 255.4)
XYZxyz(6.3660, 6.3302, 18.6520)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224878 #785222
analogous
#227378 #224878 #272278
triadic
#224878 #782248 #487822
tetradic
#224878 #782273 #785222 #227827
square
#224878 #782273 #785222 #227827
split-complementary
#224878 #782722 #737822
monochromatic
#070F19 #142B48 #224878 #3065A8 #4983CB

Accessibility & contrast

On white

9.27
#224878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#224878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #224878
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224878#FFFFFF#000000##FFFFFF
##2248781.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324C7A
Deuteranopia (green-blind)
#254477
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #224878;
/* rgb */ color: rgb(34, 72, 120);
/* oklch */ color: oklch(39.9% 0.092 255.4);
Tailwind
colors: {
  custom: {
    50: '#687a9f',
    500: '#224878',
    950: '#000000',
  },
}
SCSS
$custom: #224878;
$custom-light: #687a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#224878",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 120
  },
  "hsl": {
    "h": 213.488,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39935,
    "c": 0.09226,
    "h": 255.4
  },
  "luminance": 0.06331
}

Semantic roles & 50–950 ramp

primary
#224878
secondary
#AB804B
accent
#9D49DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #224878

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

Preview Lab → · Contrast checker → · Palette generator →

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