#227898#227898

#227898 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.7% C 0.093 H 227.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#227898
RGBrgb(34, 120, 152)
HSLhsl(196, 63%, 36%)
HSVhsv(196, 78%, 60%)
CMYKcmyk(77.6%, 21.1%, 0%, 40.4%)
CIE-LABlab(47.02, -13.77, -24.46)
CIE-LCHlch(47.02, 28.07, 240.62°)
OKLaboklab(53.75% -0.0623 -0.0687)
OKLCHoklch(53.75% 0.093 227.8)
XYZxyz(13.0413, 16.0385, 32.1081)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227898 #984222
analogous
#22987D #227898 #223D98
triadic
#227898 #982278 #789822
tetradic
#227898 #7D2298 #984222 #3D9822
square
#227898 #7D2298 #984222 #3D9822
split-complementary
#227898 #98223D #987D22
monochromatic
#0C2934 #175166 #227898 #2D9FCA #5AB7DA

Accessibility & contrast

On white

4.99
#227898 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#227898 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227898
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227898#FFFFFF#000000##FFFFFF
##2278981.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769A
Deuteranopia (green-blind)
#576B98
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227898;
/* rgb */ color: rgb(34, 120, 152);
/* oklch */ color: oklch(53.7% 0.093 227.8);
Tailwind
colors: {
  custom: {
    50: '#709fb6',
    500: '#227898',
    950: '#000000',
  },
}
SCSS
$custom: #227898;
$custom-light: #709fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#227898",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 152
  },
  "hsl": {
    "h": 196.271,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.53748,
    "c": 0.09272,
    "h": 227.8
  },
  "luminance": 0.1604
}

Semantic roles & 50–950 ramp

primary
#227898
secondary
#BE7357
accent
#6E41E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227898

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

Preview Lab → · Contrast checker → · Palette generator →

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