#227F9D#227F9D

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

Color values

HEX#227F9D
RGBrgb(34, 127, 157)
HSLhsl(195, 64%, 37%)
HSVhsv(195, 78%, 62%)
CMYKcmyk(78.3%, 19.1%, 0%, 38.4%)
CIE-LABlab(49.44, -15.93, -23.66)
CIE-LCHlch(49.44, 28.52, 236.05°)
OKLaboklab(55.75% -0.0674 -0.0663)
OKLCHoklch(55.75% 0.095 224.6)
XYZxyz(14.3323, 17.9514, 34.6013)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F9D #9D4022
analogous
#229D7D #227F9D #22429D
triadic
#227F9D #9D227F #7F9D22
tetradic
#227F9D #7D229D #9D4022 #429D22
square
#227F9D #7D229D #9D4022 #429D22
split-complementary
#227F9D #9D2242 #9D7D22
monochromatic
#0C2E38 #17566B #227F9D #2DA8CF #5DBDDC

Accessibility & contrast

On white

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

On black

4.59
#227F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227F9D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F9D#FFFFFF#000000##000000
##227F9D1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227f9d;
/* rgb */ color: rgb(34, 127, 157);
/* oklch */ color: oklch(55.7% 0.095 224.6);
Tailwind
colors: {
  custom: {
    50: '#71a4ba',
    500: '#227f9d',
    950: '#000000',
  },
}
SCSS
$custom: #227f9d;
$custom-light: #71a4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#227f9d",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 157
  },
  "hsl": {
    "h": 194.634,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.09456,
    "h": 224.6
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#227F9D
secondary
#C1735A
accent
#6940E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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