#227F97#227F97

#227F97 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.5% C 0.090 H 219.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#227F97
RGBrgb(34, 127, 151)
HSLhsl(192, 63%, 36%)
HSVhsv(192, 77%, 59%)
CMYKcmyk(77.5%, 15.9%, 0%, 40.8%)
CIE-LABlab(49.19, -18.00, -20.53)
CIE-LCHlch(49.19, 27.30, 228.75°)
OKLaboklab(55.47% -0.0698 -0.0574)
OKLCHoklch(55.47% 0.09 219.4)
XYZxyz(13.8326, 17.7515, 31.9695)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F97 #973A22
analogous
#229775 #227F97 #224597
triadic
#227F97 #97227F #7F9722
tetradic
#227F97 #752297 #973A22 #459722
square
#227F97 #752297 #973A22 #459722
split-complementary
#227F97 #972245 #977522
monochromatic
#0C2B33 #175565 #227F97 #2DA9C9 #5ABFDA

Accessibility & contrast

On white

4.61
#227F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#227F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227F97
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F97#FFFFFF#000000##FFFFFF
##227F971.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707B98
Deuteranopia (green-blind)
#607097
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227f97;
/* rgb */ color: rgb(34, 127, 151);
/* oklch */ color: oklch(55.5% 0.090 219.4);
Tailwind
colors: {
  custom: {
    50: '#70a4b5',
    500: '#227f97',
    950: '#000000',
  },
}
SCSS
$custom: #227f97;
$custom-light: #70a4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#227f97",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 151
  },
  "hsl": {
    "h": 192.308,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.55473,
    "c": 0.09035,
    "h": 219.4
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#227F97
secondary
#BE6C57
accent
#6342E6
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F97

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

Preview Lab → · Contrast checker → · Palette generator →

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