#227797#227797

#227797 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.4% C 0.092 H 228.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#227797
RGBrgb(34, 119, 151)
HSLhsl(196, 63%, 36%)
HSVhsv(196, 77%, 59%)
CMYKcmyk(77.5%, 21.2%, 0%, 40.8%)
CIE-LABlab(46.67, -13.56, -24.42)
CIE-LCHlch(46.67, 27.94, 240.96°)
OKLaboklab(53.45% -0.0617 -0.0686)
OKLCHoklch(53.45% 0.092 228)
XYZxyz(12.8401, 15.7666, 31.6387)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227797 #974222
analogous
#22977D #227797 #223D97
triadic
#227797 #972277 #779722
tetradic
#227797 #7D2297 #974222 #3D9722
square
#227797 #7D2297 #974222 #3D9722
split-complementary
#227797 #97223D #977D22
monochromatic
#0C2833 #175065 #227797 #2D9EC9 #5AB7DA

Accessibility & contrast

On white

5.06
#227797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#227797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227797
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227797#FFFFFF#000000##FFFFFF
##2277971.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667599
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227797;
/* rgb */ color: rgb(34, 119, 151);
/* oklch */ color: oklch(53.4% 0.092 228.0);
Tailwind
colors: {
  custom: {
    50: '#709eb5',
    500: '#227797',
    950: '#000000',
  },
}
SCSS
$custom: #227797;
$custom-light: #709eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#227797",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 196.41,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53447,
    "c": 0.09223,
    "h": 228
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#227797
secondary
#BE7357
accent
#6F42E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227797

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

Preview Lab → · Contrast checker → · Palette generator →

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