#227788#227788

#227788 is a mid, moderate cyan. Relative luminance 0.153; OKLCH L 52.8% C 0.082 H 214.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#227788
RGBrgb(34, 119, 136)
HSLhsl(190, 60%, 33%)
HSVhsv(190, 75%, 53%)
CMYKcmyk(75%, 12.5%, 0%, 46.7%)
CIE-LABlab(46.06, -18.77, -16.49)
CIE-LCHlch(46.06, 24.98, 221.30°)
OKLaboklab(52.75% -0.0678 -0.0459)
OKLCHoklch(52.75% 0.082 214.1)
XYZxyz(11.6986, 15.3099, 25.6263)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227788 #883322
analogous
#228866 #227788 #224488
triadic
#227788 #882277 #778822
tetradic
#227788 #662288 #883322 #448822
square
#227788 #662288 #883322 #448822
split-complementary
#227788 #882244 #886622
monochromatic
#0A2126 #164C57 #227788 #2EA2B9 #51BED3

Accessibility & contrast

On white

5.17
#227788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#227788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227788
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227788#FFFFFF#000000##FFFFFF
##2277881.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7389
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#007D7C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227788;
/* rgb */ color: rgb(34, 119, 136);
/* oklch */ color: oklch(52.8% 0.082 214.1);
Tailwind
colors: {
  custom: {
    50: '#6d9eaa',
    500: '#227788',
    950: '#000000',
  },
}
SCSS
$custom: #227788;
$custom-light: #6d9eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#227788",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 136
  },
  "hsl": {
    "h": 190,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.08189,
    "h": 214.1
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#227788
secondary
#B7604F
accent
#5F45E3
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227788

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

Preview Lab → · Contrast checker → · Palette generator →

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