#227B9E#227B9E

#227B9E is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.097 H 229.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#227B9E
RGBrgb(34, 123, 158)
HSLhsl(197, 65%, 38%)
HSVhsv(197, 78%, 62%)
CMYKcmyk(78.5%, 22.2%, 0%, 38%)
CIE-LABlab(48.23, -13.33, -26.12)
CIE-LCHlch(48.23, 29.32, 242.96°)
OKLaboklab(54.79% -0.063 -0.0734)
OKLCHoklch(54.79% 0.097 229.4)
XYZxyz(13.9117, 16.9729, 34.8840)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B9E #9E4522
analogous
#229E83 #227B9E #223D9E
triadic
#227B9E #9E227B #7B9E22
tetradic
#227B9E #83229E #9E4522 #3D9E22
square
#227B9E #83229E #9E4522 #3D9E22
split-complementary
#227B9E #9E223D #9E8322
monochromatic
#0C2D39 #17546C #227B9E #2DA2D0 #5EB9DC

Accessibility & contrast

On white

4.78
#227B9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#227B9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B9E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B9E#FFFFFF#000000##FFFFFF
##227B9E1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6979A0
Deuteranopia (green-blind)
#586D9E
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227b9e;
/* rgb */ color: rgb(34, 123, 158);
/* oklch */ color: oklch(54.8% 0.097 229.4);
Tailwind
colors: {
  custom: {
    50: '#71a1ba',
    500: '#227b9e',
    950: '#000000',
  },
}
SCSS
$custom: #227b9e;
$custom-light: #71a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#227b9e",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 158
  },
  "hsl": {
    "h": 196.935,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.09676,
    "h": 229.4
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#227B9E
secondary
#C1785B
accent
#6F40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #227B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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