#227F9C#227F9C

#227F9C is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.094 H 223.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#227F9C
RGBrgb(34, 127, 156)
HSLhsl(194, 64%, 37%)
HSVhsv(194, 78%, 61%)
CMYKcmyk(78.2%, 18.6%, 0%, 38.8%)
CIE-LABlab(49.40, -16.27, -23.14)
CIE-LCHlch(49.40, 28.29, 234.88°)
OKLaboklab(55.7% -0.0678 -0.0648)
OKLCHoklch(55.7% 0.094 223.7)
XYZxyz(14.2473, 17.9174, 34.1536)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F9C #9C3F22
analogous
#229C7C #227F9C #22429C
triadic
#227F9C #9C227F #7F9C22
tetradic
#227F9C #7C229C #9C3F22 #429C22
square
#227F9C #7C229C #9C3F22 #429C22
split-complementary
#227F9C #9C2242 #9C7C22
monochromatic
#0C2D38 #17566A #227F9C #2DA8CE #5DBDDC

Accessibility & contrast

On white

4.58
#227F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#227F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227F9C
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F9C#FFFFFF#000000##000000
##227F9C1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F7C9D
Deuteranopia (green-blind)
#5E709C
Tritanopia (blue-blind)
#008888
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227f9c;
/* rgb */ color: rgb(34, 127, 156);
/* oklch */ color: oklch(55.7% 0.094 223.7);
Tailwind
colors: {
  custom: {
    50: '#71a4b9',
    500: '#227f9c',
    950: '#000000',
  },
}
SCSS
$custom: #227f9c;
$custom-light: #71a4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#227f9c",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 156
  },
  "hsl": {
    "h": 194.262,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.0938,
    "h": 223.7
  },
  "luminance": 0.17919
}

Semantic roles & 50–950 ramp

primary
#227F9C
secondary
#C0725A
accent
#6841E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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