#227A9E#227A9E

#227A9E is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.5% C 0.097 H 230.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#227A9E
RGBrgb(34, 122, 158)
HSLhsl(197, 65%, 38%)
HSVhsv(197, 78%, 62%)
CMYKcmyk(78.5%, 22.8%, 0%, 38%)
CIE-LABlab(47.91, -12.77, -26.60)
CIE-LCHlch(47.91, 29.51, 244.36°)
OKLaboklab(54.54% -0.062 -0.0748)
OKLCHoklch(54.54% 0.097 230.4)
XYZxyz(13.7883, 16.7261, 34.8429)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A9E #9E4622
analogous
#229E84 #227A9E #223C9E
triadic
#227A9E #9E227A #7A9E22
tetradic
#227A9E #84229E #9E4622 #3C9E22
square
#227A9E #84229E #9E4622 #3C9E22
split-complementary
#227A9E #9E223C #9E8422
monochromatic
#0C2C39 #17536C #227A9E #2DA1D0 #5EB8DC

Accessibility & contrast

On white

4.83
#227A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#227A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A9E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A9E#FFFFFF#000000##FFFFFF
##227A9E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6878A0
Deuteranopia (green-blind)
#576D9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227a9e;
/* rgb */ color: rgb(34, 122, 158);
/* oklch */ color: oklch(54.5% 0.097 230.4);
Tailwind
colors: {
  custom: {
    50: '#71a0ba',
    500: '#227a9e',
    950: '#000000',
  },
}
SCSS
$custom: #227a9e;
$custom-light: #71a0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#227a9e",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 197.419,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54544,
    "c": 0.09719,
    "h": 230.4
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#227A9E
secondary
#C1785B
accent
#7140E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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