#227F9E#227F9E

#227F9E is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.8% C 0.095 H 225.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#227F9E
RGBrgb(34, 127, 158)
HSLhsl(195, 65%, 38%)
HSVhsv(195, 78%, 62%)
CMYKcmyk(78.5%, 19.6%, 0%, 38%)
CIE-LABlab(49.48, -15.57, -24.18)
CIE-LCHlch(49.48, 28.76, 237.21°)
OKLaboklab(55.8% -0.067 -0.0678)
OKLCHoklch(55.8% 0.095 225.4)
XYZxyz(14.4181, 17.9857, 35.0528)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F9E #9E4122
analogous
#229E7F #227F9E #22419E
triadic
#227F9E #9E227F #7F9E22
tetradic
#227F9E #7F229E #9E4122 #419E22
square
#227F9E #7F229E #9E4122 #419E22
split-complementary
#227F9E #9E2241 #9E7F22
monochromatic
#0C2E39 #17576C #227F9E #2DA7D0 #5EBDDC

Accessibility & contrast

On white

4.57
#227F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#227F9E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227F9E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F9E#FFFFFF#000000##000000
##227F9E1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7CA0
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#008889
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227f9e;
/* rgb */ color: rgb(34, 127, 158);
/* oklch */ color: oklch(55.8% 0.095 225.4);
Tailwind
colors: {
  custom: {
    50: '#71a4ba',
    500: '#227f9e',
    950: '#000000',
  },
}
SCSS
$custom: #227f9e;
$custom-light: #71a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#227f9e",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 158
  },
  "hsl": {
    "h": 195,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.09533,
    "h": 225.4
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#227F9E
secondary
#C1745B
accent
#6A40E8
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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