#227A9C#227A9C

#227A9C is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.4% C 0.095 H 228.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#227A9C
RGBrgb(34, 122, 156)
HSLhsl(197, 64%, 37%)
HSVhsv(197, 78%, 61%)
CMYKcmyk(78.2%, 21.8%, 0%, 38.8%)
CIE-LABlab(47.83, -13.48, -25.57)
CIE-LCHlch(47.83, 28.90, 242.20°)
OKLaboklab(54.45% -0.0628 -0.0718)
OKLCHoklch(54.45% 0.095 228.9)
XYZxyz(13.6175, 16.6578, 33.9436)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A9C #9C4422
analogous
#229C81 #227A9C #223D9C
triadic
#227A9C #9C227A #7A9C22
tetradic
#227A9C #81229C #9C4422 #3D9C22
square
#227A9C #81229C #9C4422 #3D9C22
split-complementary
#227A9C #9C223D #9C8122
monochromatic
#0C2B38 #17536A #227A9C #2DA1CE #5DB8DC

Accessibility & contrast

On white

4.85
#227A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#227A9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A9C
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A9C#FFFFFF#000000##FFFFFF
##227A9C1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68789E
Deuteranopia (green-blind)
#586C9C
Tritanopia (blue-blind)
#008485
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227a9c;
/* rgb */ color: rgb(34, 122, 156);
/* oklch */ color: oklch(54.4% 0.095 228.9);
Tailwind
colors: {
  custom: {
    50: '#71a0b9',
    500: '#227a9c',
    950: '#000000',
  },
}
SCSS
$custom: #227a9c;
$custom-light: #71a0b9;
$custom-dark: #000000;
JSON
{
  "hex": "#227a9c",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 156
  },
  "hsl": {
    "h": 196.721,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.09541,
    "h": 228.9
  },
  "luminance": 0.16659
}

Semantic roles & 50–950 ramp

primary
#227A9C
secondary
#C0765A
accent
#6F41E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227A9C

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

Preview Lab → · Contrast checker → · Palette generator →

#227A9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva