#227799#227799

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

Color values

HEX#227799
RGBrgb(34, 119, 153)
HSLhsl(197, 64%, 37%)
HSVhsv(197, 78%, 60%)
CMYKcmyk(77.8%, 22.2%, 0%, 40%)
CIE-LABlab(46.75, -12.85, -25.47)
CIE-LCHlch(46.75, 28.52, 243.23°)
OKLaboklab(53.55% -0.0609 -0.0716)
OKLCHoklch(53.55% 0.094 229.6)
XYZxyz(13.0039, 15.8321, 32.5014)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227799 #994422
analogous
#229980 #227799 #223C99
triadic
#227799 #992277 #779922
tetradic
#227799 #802299 #994422 #3C9922
square
#227799 #802299 #994422 #3C9922
split-complementary
#227799 #99223C #998022
monochromatic
#0C2935 #175067 #227799 #2D9ECB #5BB6DB

Accessibility & contrast

On white

5.04
#227799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#227799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227799
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227799#FFFFFF#000000##FFFFFF
##2277991.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65759B
Deuteranopia (green-blind)
#566A99
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227799;
/* rgb */ color: rgb(34, 119, 153);
/* oklch */ color: oklch(53.5% 0.094 229.6);
Tailwind
colors: {
  custom: {
    50: '#709eb7',
    500: '#227799',
    950: '#000000',
  },
}
SCSS
$custom: #227799;
$custom-light: #709eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#227799",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 197.143,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.09399,
    "h": 229.6
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#227799
secondary
#BF7558
accent
#7041E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227799

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

Preview Lab → · Contrast checker → · Palette generator →

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