#225978#225978

#225978 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.2% C 0.077 H 236.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#225978
RGBrgb(34, 89, 120)
HSLhsl(202, 56%, 30%)
HSVhsv(202, 72%, 47%)
CMYKcmyk(71.7%, 25.8%, 0%, 52.9%)
CIE-LABlab(35.67, -7.13, -22.81)
CIE-LCHlch(35.67, 23.89, 252.64°)
OKLaboklab(44.22% -0.0418 -0.0642)
OKLCHoklch(44.22% 0.077 236.9)
XYZxyz(7.6209, 8.8401, 19.0703)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225978 #784122
analogous
#22786C #225978 #222E78
triadic
#225978 #782259 #597822
tetradic
#225978 #6C2278 #784122 #2E7822
square
#225978 #6C2278 #784122 #2E7822
split-complementary
#225978 #78222E #786C22
monochromatic
#071219 #143648 #225978 #307CA8 #499CCB

Accessibility & contrast

On white

7.59
#225978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#225978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225978
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225978#FFFFFF#000000##FFFFFF
##2259781.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5979
Deuteranopia (green-blind)
#3F5077
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #225978;
/* rgb */ color: rgb(34, 89, 120);
/* oklch */ color: oklch(44.2% 0.077 236.9);
Tailwind
colors: {
  custom: {
    50: '#68879f',
    500: '#225978',
    950: '#000000',
  },
}
SCSS
$custom: #225978;
$custom-light: #68879f;
$custom-dark: #000000;
JSON
{
  "hex": "#225978",
  "rgb": {
    "r": 34,
    "g": 89,
    "b": 120
  },
  "hsl": {
    "h": 201.628,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.44221,
    "c": 0.07656,
    "h": 236.9
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#225978
secondary
#AB6D4B
accent
#7F49DF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #225978

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

Preview Lab → · Contrast checker → · Palette generator →

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