#225779#225779

#225779 is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 43.8% C 0.079 H 240.3°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#225779
RGBrgb(34, 87, 121)
HSLhsl(203, 56%, 30%)
HSVhsv(203, 72%, 47%)
CMYKcmyk(71.9%, 28.1%, 0%, 52.5%)
CIE-LABlab(35.08, -5.52, -24.36)
CIE-LCHlch(35.08, 24.98, 257.22°)
OKLaboklab(43.76% -0.0392 -0.0687)
OKLCHoklch(43.76% 0.079 240.3)
XYZxyz(7.5177, 8.5361, 19.3369)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#225779 #794422
analogous
#22796F #225779 #222C79
triadic
#225779 #792257 #577922
tetradic
#225779 #6F2279 #794422 #2C7922
square
#225779 #6F2279 #794422 #2C7922
split-complementary
#225779 #79222C #796F22
monochromatic
#071219 #153549 #225779 #2F79A9 #4999CC

Accessibility & contrast

On white

7.76
#225779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#225779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #225779
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##225779#FFFFFF#000000##FFFFFF
##2257791.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577B
Deuteranopia (green-blind)
#3B4F78
Tritanopia (blue-blind)
#005F63
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #225779;
/* rgb */ color: rgb(34, 87, 121);
/* oklch */ color: oklch(43.8% 0.079 240.3);
Tailwind
colors: {
  custom: {
    50: '#6986a0',
    500: '#225779',
    950: '#000000',
  },
}
SCSS
$custom: #225779;
$custom-light: #6986a0;
$custom-dark: #000000;
JSON
{
  "hex": "#225779",
  "rgb": {
    "r": 34,
    "g": 87,
    "b": 121
  },
  "hsl": {
    "h": 203.448,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.43762,
    "c": 0.07908,
    "h": 240.3
  },
  "luminance": 0.08537
}

Semantic roles & 50–950 ramp

primary
#225779
secondary
#AC714B
accent
#8348DF
background
#F6F8F9
surface
#EBEFF2
border
#C6CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #225779

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

Preview Lab → · Contrast checker → · Palette generator →

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