#227D9D#227D9D

#227D9D is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.2% C 0.095 H 226.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#227D9D
RGBrgb(34, 125, 157)
HSLhsl(196, 64%, 37%)
HSVhsv(196, 78%, 62%)
CMYKcmyk(78.3%, 20.4%, 0%, 38.4%)
CIE-LABlab(48.81, -14.81, -24.63)
CIE-LCHlch(48.81, 28.74, 238.98°)
OKLaboklab(55.25% -0.0654 -0.0691)
OKLCHoklch(55.25% 0.095 226.6)
XYZxyz(14.0766, 17.4399, 34.5161)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227D9D #9D4222
analogous
#229D80 #227D9D #223F9D
triadic
#227D9D #9D227D #7D9D22
tetradic
#227D9D #80229D #9D4222 #3F9D22
square
#227D9D #80229D #9D4222 #3F9D22
split-complementary
#227D9D #9D223F #9D8022
monochromatic
#0C2D38 #17556B #227D9D #2DA5CF #5DBBDC

Accessibility & contrast

On white

4.68
#227D9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#227D9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227D9D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227D9D#FFFFFF#000000##FFFFFF
##227D9D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7B9F
Deuteranopia (green-blind)
#5B6F9D
Tritanopia (blue-blind)
#008688
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227d9d;
/* rgb */ color: rgb(34, 125, 157);
/* oklch */ color: oklch(55.2% 0.095 226.6);
Tailwind
colors: {
  custom: {
    50: '#71a2ba',
    500: '#227d9d',
    950: '#000000',
  },
}
SCSS
$custom: #227d9d;
$custom-light: #71a2ba;
$custom-dark: #000000;
JSON
{
  "hex": "#227d9d",
  "rgb": {
    "r": 34,
    "g": 125,
    "b": 157
  },
  "hsl": {
    "h": 195.61,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.09515,
    "h": 226.6
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#227D9D
secondary
#C1755A
accent
#6C40E7
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227D9D

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

Preview Lab → · Contrast checker → · Palette generator →

#227D9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva