#227F98#227F98

#227F98 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.5% C 0.091 H 220.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#227F98
RGBrgb(34, 127, 152)
HSLhsl(193, 63%, 36%)
HSVhsv(193, 78%, 60%)
CMYKcmyk(77.6%, 16.4%, 0%, 40.4%)
CIE-LABlab(49.23, -17.66, -21.05)
CIE-LCHlch(49.23, 27.48, 230.01°)
OKLaboklab(55.52% -0.0694 -0.0589)
OKLCHoklch(55.52% 0.091 220.3)
XYZxyz(13.9142, 17.7841, 32.3990)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F98 #983B22
analogous
#229876 #227F98 #224498
triadic
#227F98 #98227F #7F9822
tetradic
#227F98 #762298 #983B22 #449822
square
#227F98 #762298 #983B22 #449822
split-complementary
#227F98 #982244 #987622
monochromatic
#0C2B34 #175566 #227F98 #2DA9CA #5ABFDA

Accessibility & contrast

On white

4.61
#227F98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#227F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227F98
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F98#FFFFFF#000000##FFFFFF
##227F981.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707C99
Deuteranopia (green-blind)
#607098
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227f98;
/* rgb */ color: rgb(34, 127, 152);
/* oklch */ color: oklch(55.5% 0.091 220.3);
Tailwind
colors: {
  custom: {
    50: '#71a4b6',
    500: '#227f98',
    950: '#000000',
  },
}
SCSS
$custom: #227f98;
$custom-light: #71a4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#227f98",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 152
  },
  "hsl": {
    "h": 192.712,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55518,
    "c": 0.091,
    "h": 220.3
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#227F98
secondary
#BE6D57
accent
#6441E6
background
#F7FAFB
surface
#EDF4F6
border
#C8CED0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227F98

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

Preview Lab → · Contrast checker → · Palette generator →

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