#224879#224879

#224879 is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.094 H 255.8°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#224879
RGBrgb(34, 72, 121)
HSLhsl(214, 56%, 30%)
HSVhsv(214, 72%, 47%)
CMYKcmyk(71.9%, 40.5%, 0%, 52.5%)
CIE-LABlab(30.29, 4.18, -31.90)
CIE-LCHlch(30.29, 32.17, 277.46°)
OKLaboklab(40% -0.023 -0.0908)
OKLCHoklch(40% 0.094 255.8)
XYZxyz(6.4270, 6.3546, 18.9733)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#224879 #795322
analogous
#227379 #224879 #272279
triadic
#224879 #792248 #487922
tetradic
#224879 #792273 #795322 #227927
square
#224879 #792273 #795322 #227927
split-complementary
#224879 #792722 #737922
monochromatic
#070F19 #152C49 #224879 #2F64A9 #4982CC

Accessibility & contrast

On white

9.25
#224879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #224879
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##224879#FFFFFF#000000##FFFFFF
##2248791.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #224879;
/* rgb */ color: rgb(34, 72, 121);
/* oklch */ color: oklch(40.0% 0.094 255.8);
Tailwind
colors: {
  custom: {
    50: '#687aa0',
    500: '#224879',
    950: '#000000',
  },
}
SCSS
$custom: #224879;
$custom-light: #687aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#224879",
  "rgb": {
    "r": 34,
    "g": 72,
    "b": 121
  },
  "hsl": {
    "h": 213.793,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40001,
    "c": 0.09371,
    "h": 255.8
  },
  "luminance": 0.06355
}

Semantic roles & 50–950 ramp

primary
#224879
secondary
#AC824B
accent
#9D48DF
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #224879

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

Preview Lab → · Contrast checker → · Palette generator →

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