#227798#227798

#227798 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.5% C 0.093 H 228.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#227798
RGBrgb(34, 119, 152)
HSLhsl(197, 63%, 36%)
HSVhsv(197, 78%, 60%)
CMYKcmyk(77.6%, 21.7%, 0%, 40.4%)
CIE-LABlab(46.71, -13.20, -24.95)
CIE-LCHlch(46.71, 28.22, 242.11°)
OKLaboklab(53.5% -0.0613 -0.0701)
OKLCHoklch(53.5% 0.093 228.8)
XYZxyz(12.9217, 15.7992, 32.0682)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227798 #984322
analogous
#22987E #227798 #223C98
triadic
#227798 #982277 #779822
tetradic
#227798 #7E2298 #984322 #3C9822
square
#227798 #7E2298 #984322 #3C9822
split-complementary
#227798 #98223C #987E22
monochromatic
#0C2934 #175066 #227798 #2D9ECA #5AB6DA

Accessibility & contrast

On white

5.05
#227798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227798
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227798#FFFFFF#000000##FFFFFF
##2277981.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#566A98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227798;
/* rgb */ color: rgb(34, 119, 152);
/* oklch */ color: oklch(53.5% 0.093 228.8);
Tailwind
colors: {
  custom: {
    50: '#709eb6',
    500: '#227798',
    950: '#000000',
  },
}
SCSS
$custom: #227798;
$custom-light: #709eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#227798",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 196.78,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.0931,
    "h": 228.8
  },
  "luminance": 0.15801
}

Semantic roles & 50–950 ramp

primary
#227798
secondary
#BE7457
accent
#7041E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227798

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

Preview Lab → · Contrast checker → · Palette generator →

#227798 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva