#226877#226877

#226877 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.1% C 0.072 H 214.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#226877
RGBrgb(34, 104, 119)
HSLhsl(191, 56%, 30%)
HSVhsv(191, 71%, 47%)
CMYKcmyk(71.4%, 12.6%, 0%, 53.3%)
CIE-LABlab(40.53, -16.28, -14.72)
CIE-LCHlch(40.53, 21.94, 222.12°)
OKLaboklab(48.09% -0.0589 -0.041)
OKLCHoklch(48.09% 0.072 214.8)
XYZxyz(8.9384, 11.5716, 19.2117)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226877 #773122
analogous
#22775B #226877 #223E77
triadic
#226877 #772268 #687722
tetradic
#226877 #5B2277 #773122 #3E7722
square
#226877 #5B2277 #773122 #3E7722
split-complementary
#226877 #77223E #775B22
monochromatic
#071518 #143E47 #226877 #3092A7 #49B4CB

Accessibility & contrast

On white

6.34
#226877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#226877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226877
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226877#FFFFFF#000000##FFFFFF
##2268771.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6578
Deuteranopia (green-blind)
#515C77
Tritanopia (blue-blind)
#006E6D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226877;
/* rgb */ color: rgb(34, 104, 119);
/* oklch */ color: oklch(48.1% 0.072 214.8);
Tailwind
colors: {
  custom: {
    50: '#6a939e',
    500: '#226877',
    950: '#000000',
  },
}
SCSS
$custom: #226877;
$custom-light: #6a939e;
$custom-dark: #000000;
JSON
{
  "hex": "#226877",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 119
  },
  "hsl": {
    "h": 190.588,
    "s": 55.556,
    "l": 30
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.07173,
    "h": 214.8
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#226877
secondary
#AA5C4B
accent
#6349DF
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #226877

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

Preview Lab → · Contrast checker → · Palette generator →

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