#227997#227997

#227997 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.092 H 225.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#227997
RGBrgb(34, 121, 151)
HSLhsl(195, 63%, 36%)
HSVhsv(195, 77%, 59%)
CMYKcmyk(77.5%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.30, -14.69, -23.45)
CIE-LCHlch(47.30, 27.67, 237.94°)
OKLaboklab(53.95% -0.0637 -0.0658)
OKLCHoklch(53.95% 0.092 225.9)
XYZxyz(13.0807, 16.2476, 31.7189)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227997 #974022
analogous
#22977B #227997 #223F97
triadic
#227997 #972279 #799722
tetradic
#227997 #7B2297 #974022 #3F9722
square
#227997 #7B2297 #974022 #3F9722
split-complementary
#227997 #97223F #977B22
monochromatic
#0C2933 #175165 #227997 #2DA1C9 #5AB9DA

Accessibility & contrast

On white

4.94
#227997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#227997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227997
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227997#FFFFFF#000000##FFFFFF
##2279971.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697799
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227997;
/* rgb */ color: rgb(34, 121, 151);
/* oklch */ color: oklch(54.0% 0.092 225.9);
Tailwind
colors: {
  custom: {
    50: '#709fb5',
    500: '#227997',
    950: '#000000',
  },
}
SCSS
$custom: #227997;
$custom-light: #709fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#227997",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 195.385,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.53952,
    "c": 0.09155,
    "h": 225.9
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#227997
secondary
#BE7157
accent
#6C42E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227997

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

Preview Lab → · Contrast checker → · Palette generator →

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