#227A98#227A98

#227A98 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.092 H 225.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#227A98
RGBrgb(34, 122, 152)
HSLhsl(195, 63%, 36%)
HSVhsv(195, 78%, 60%)
CMYKcmyk(77.6%, 19.7%, 0%, 40.4%)
CIE-LABlab(47.66, -14.90, -23.48)
CIE-LCHlch(47.66, 27.81, 237.61°)
OKLaboklab(54.25% -0.0643 -0.0659)
OKLCHoklch(54.25% 0.092 225.7)
XYZxyz(13.2844, 16.5245, 32.1891)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A98 #984022
analogous
#22987B #227A98 #223F98
triadic
#227A98 #98227A #7A9822
tetradic
#227A98 #7B2298 #984022 #3F9822
square
#227A98 #7B2298 #984022 #3F9822
split-complementary
#227A98 #98223F #987B22
monochromatic
#0C2A34 #175266 #227A98 #2DA2CA #5ABADA

Accessibility & contrast

On white

4.88
#227A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#227A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A98
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A98#FFFFFF#000000##FFFFFF
##227A981.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A779A
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#008384
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227a98;
/* rgb */ color: rgb(34, 122, 152);
/* oklch */ color: oklch(54.3% 0.092 225.7);
Tailwind
colors: {
  custom: {
    50: '#70a0b6',
    500: '#227a98',
    950: '#000000',
  },
}
SCSS
$custom: #227a98;
$custom-light: #70a0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#227a98",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 152
  },
  "hsl": {
    "h": 195.254,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54252,
    "c": 0.09205,
    "h": 225.7
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

primary
#227A98
secondary
#BE7257
accent
#6B41E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227A98

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

Preview Lab → · Contrast checker → · Palette generator →

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