#227AA8#227AA8

#227AA8 is a mid, moderate cyan. Relative luminance 0.171; OKLCH L 55.1% C 0.107 H 236.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#227AA8
RGBrgb(34, 122, 168)
HSLhsl(201, 66%, 40%)
HSVhsv(201, 80%, 66%)
CMYKcmyk(79.8%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.37, -9.15, -31.74)
CIE-LCHlch(48.37, 33.03, 253.92°)
OKLaboklab(55.05% -0.0584 -0.0897)
OKLCHoklch(55.05% 0.107 236.9)
XYZxyz(14.6843, 17.0845, 39.5619)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227AA8 #A85022
analogous
#22A893 #227AA8 #2237A8
triadic
#227AA8 #A8227A #7AA822
tetradic
#227AA8 #9322A8 #A85022 #37A822
square
#227AA8 #9322A8 #A85022 #37A822
split-complementary
#227AA8 #A82237 #A89322
monochromatic
#0D3042 #185575 #227AA8 #329DD5 #65B5E0

Accessibility & contrast

On white

4.75
#227AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#227AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227AA8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227AA8#FFFFFF#000000##FFFFFF
##227AA81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AAA
Deuteranopia (green-blind)
#526DA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227aa8;
/* rgb */ color: rgb(34, 122, 168);
/* oklch */ color: oklch(55.1% 0.107 236.9);
Tailwind
colors: {
  custom: {
    50: '#73a0c2',
    500: '#227aa8',
    950: '#000000',
  },
}
SCSS
$custom: #227aa8;
$custom-light: #73a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227aa8",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 200.597,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.10704,
    "h": 236.9
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#227AA8
secondary
#C58361
accent
#793FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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