#227998#227998

#227998 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.0% C 0.092 H 226.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#227998
RGBrgb(34, 121, 152)
HSLhsl(196, 63%, 36%)
HSVhsv(196, 78%, 60%)
CMYKcmyk(77.6%, 20.4%, 0%, 40.4%)
CIE-LABlab(47.34, -14.33, -23.97)
CIE-LCHlch(47.34, 27.93, 239.12°)
OKLaboklab(54% -0.0633 -0.0673)
OKLCHoklch(54% 0.092 226.7)
XYZxyz(13.1622, 16.2802, 32.1484)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227998 #984122
analogous
#22987C #227998 #223E98
triadic
#227998 #982279 #799822
tetradic
#227998 #7C2298 #984122 #3E9822
square
#227998 #7C2298 #984122 #3E9822
split-complementary
#227998 #98223E #987C22
monochromatic
#0C2934 #175166 #227998 #2DA1CA #5AB9DA

Accessibility & contrast

On white

4.93
#227998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#227998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227998
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227998#FFFFFF#000000##FFFFFF
##2279981.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779A
Deuteranopia (green-blind)
#596B98
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227998;
/* rgb */ color: rgb(34, 121, 152);
/* oklch */ color: oklch(54.0% 0.092 226.7);
Tailwind
colors: {
  custom: {
    50: '#709fb6',
    500: '#227998',
    950: '#000000',
  },
}
SCSS
$custom: #227998;
$custom-light: #709fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#227998",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 195.763,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54,
    "c": 0.09237,
    "h": 226.7
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#227998
secondary
#BE7257
accent
#6D41E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227998

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

Preview Lab → · Contrast checker → · Palette generator →

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