#227F9B#227F9B

#227F9B is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.7% C 0.093 H 222.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#227F9B
RGBrgb(34, 127, 155)
HSLhsl(194, 64%, 37%)
HSVhsv(194, 78%, 61%)
CMYKcmyk(78.1%, 18.1%, 0%, 39.2%)
CIE-LABlab(49.35, -16.62, -22.62)
CIE-LCHlch(49.35, 28.07, 233.69°)
OKLaboklab(55.66% -0.0682 -0.0634)
OKLCHoklch(55.66% 0.093 222.9)
XYZxyz(14.1630, 17.8837, 33.7094)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F9B #9B3E22
analogous
#229B7A #227F9B #22439B
triadic
#227F9B #9B227F #7F9B22
tetradic
#227F9B #7A229B #9B3E22 #439B22
square
#227F9B #7A229B #9B3E22 #439B22
split-complementary
#227F9B #9B2243 #9B7A22
monochromatic
#0C2D37 #175669 #227F9B #2DA8CD #5CBEDB

Accessibility & contrast

On white

4.59
#227F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227F9B
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F9B#FFFFFF#000000##FFFFFF
##227F9B1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227f9b;
/* rgb */ color: rgb(34, 127, 155);
/* oklch */ color: oklch(55.7% 0.093 222.9);
Tailwind
colors: {
  custom: {
    50: '#71a4b8',
    500: '#227f9b',
    950: '#000000',
  },
}
SCSS
$custom: #227f9b;
$custom-light: #71a4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#227f9b",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 155
  },
  "hsl": {
    "h": 193.884,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.55656,
    "c": 0.09307,
    "h": 222.9
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#227F9B
secondary
#C07159
accent
#6741E7
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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