#227899#227899

#227899 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.094 H 228.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#227899
RGBrgb(34, 120, 153)
HSLhsl(197, 64%, 37%)
HSVhsv(197, 78%, 60%)
CMYKcmyk(77.8%, 21.6%, 0%, 40%)
CIE-LABlab(47.07, -13.42, -24.98)
CIE-LCHlch(47.07, 28.35, 241.76°)
OKLaboklab(53.8% -0.0619 -0.0702)
OKLCHoklch(53.8% 0.094 228.6)
XYZxyz(13.1236, 16.0714, 32.5412)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227899 #994322
analogous
#22997F #227899 #223D99
triadic
#227899 #992278 #789922
tetradic
#227899 #7F2299 #994322 #3D9922
square
#227899 #7F2299 #994322 #3D9922
split-complementary
#227899 #99223D #997F22
monochromatic
#0C2935 #175167 #227899 #2D9FCB #5BB7DB

Accessibility & contrast

On white

4.98
#227899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227899
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227899#FFFFFF#000000##FFFFFF
##2278991.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67769B
Deuteranopia (green-blind)
#576B99
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227899;
/* rgb */ color: rgb(34, 120, 153);
/* oklch */ color: oklch(53.8% 0.094 228.6);
Tailwind
colors: {
  custom: {
    50: '#709fb7',
    500: '#227899',
    950: '#000000',
  },
}
SCSS
$custom: #227899;
$custom-light: #709fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#227899",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 196.639,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53796,
    "c": 0.09358,
    "h": 228.6
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#227899
secondary
#BF7458
accent
#6F41E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227899

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

Preview Lab → · Contrast checker → · Palette generator →

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