#227AA6#227AA6

#227AA6 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.105 H 235.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#227AA6
RGBrgb(34, 122, 166)
HSLhsl(200, 66%, 39%)
HSVhsv(200, 80%, 65%)
CMYKcmyk(79.5%, 26.5%, 0%, 34.9%)
CIE-LABlab(48.27, -9.88, -30.72)
CIE-LCHlch(48.27, 32.27, 252.17°)
OKLaboklab(54.95% -0.0591 -0.0867)
OKLCHoklch(54.95% 0.105 235.7)
XYZxyz(14.4994, 17.0106, 38.5882)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227AA6 #A64E22
analogous
#22A690 #227AA6 #2238A6
triadic
#227AA6 #A6227A #7AA622
tetradic
#227AA6 #9022A6 #A64E22 #38A622
square
#227AA6 #9022A6 #A64E22 #38A622
split-complementary
#227AA6 #A62238 #A69022
monochromatic
#0D2F40 #185573 #227AA6 #309ED5 #63B6DF

Accessibility & contrast

On white

4.77
#227AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#227AA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227AA6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227AA6#FFFFFF#000000##FFFFFF
##227AA61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A8
Deuteranopia (green-blind)
#536DA5
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227aa6;
/* rgb */ color: rgb(34, 122, 166);
/* oklch */ color: oklch(54.9% 0.105 235.7);
Tailwind
colors: {
  custom: {
    50: '#72a0c0',
    500: '#227aa6',
    950: '#000000',
  },
}
SCSS
$custom: #227aa6;
$custom-light: #72a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227aa6",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 166
  },
  "hsl": {
    "h": 200,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.10497,
    "h": 235.7
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#227AA6
secondary
#C4815F
accent
#783FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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