#226878#226878

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

Color values

HEX#226878
RGBrgb(34, 104, 120)
HSLhsl(191, 56%, 30%)
HSVhsv(191, 72%, 47%)
CMYKcmyk(71.7%, 13.3%, 0%, 52.9%)
CIE-LABlab(40.57, -15.93, -15.26)
CIE-LCHlch(40.57, 22.06, 223.77°)
OKLaboklab(48.13% -0.0584 -0.0425)
OKLCHoklch(48.13% 0.072 216)
XYZxyz(8.9988, 11.5958, 19.5296)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226878 #783222
analogous
#22785D #226878 #223D78
triadic
#226878 #782268 #687822
tetradic
#226878 #5D2278 #783222 #3D7822
square
#226878 #5D2278 #783222 #3D7822
split-complementary
#226878 #78223D #785D22
monochromatic
#071519 #143F48 #226878 #3091A8 #49B3CB

Accessibility & contrast

On white

6.33
#226878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#226878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226878
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226878#FFFFFF#000000##FFFFFF
##2268781.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #226878;
/* rgb */ color: rgb(34, 104, 120);
/* oklch */ color: oklch(48.1% 0.072 216.0);
Tailwind
colors: {
  custom: {
    50: '#6a939f',
    500: '#226878',
    950: '#000000',
  },
}
SCSS
$custom: #226878;
$custom-light: #6a939f;
$custom-dark: #000000;
JSON
{
  "hex": "#226878",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 120
  },
  "hsl": {
    "h": 191.163,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.48131,
    "c": 0.07227,
    "h": 216
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#226878
secondary
#AB5D4B
accent
#6549DF
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #226878

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

Preview Lab → · Contrast checker → · Palette generator →

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