#227EA7#227EA7

#227EA7 is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.0% C 0.104 H 232.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#227EA7
RGBrgb(34, 126, 167)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 80%, 65%)
CMYKcmyk(79.6%, 24.6%, 0%, 34.5%)
CIE-LABlab(49.56, -11.81, -29.30)
CIE-LCHlch(49.56, 31.59, 248.04°)
OKLaboklab(55.99% -0.0626 -0.0826)
OKLCHoklch(55.99% 0.104 232.8)
XYZxyz(15.0928, 18.0500, 39.2403)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EA7 #A74B22
analogous
#22A78E #227EA7 #223CA7
triadic
#227EA7 #A7227E #7EA722
tetradic
#227EA7 #8E22A7 #A74B22 #3CA722
square
#227EA7 #8E22A7 #A74B22 #3CA722
split-complementary
#227EA7 #A7223C #A78E22
monochromatic
#0D3141 #185874 #227EA7 #31A3D5 #64B9DF

Accessibility & contrast

On white

4.55
#227EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#227EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227EA7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EA7#FFFFFF#000000##000000
##227EA71.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7DA9
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227ea7;
/* rgb */ color: rgb(34, 126, 167);
/* oklch */ color: oklch(56.0% 0.104 232.8);
Tailwind
colors: {
  custom: {
    50: '#73a3c1',
    500: '#227ea7',
    950: '#000000',
  },
}
SCSS
$custom: #227ea7;
$custom-light: #73a3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#227ea7",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 198.496,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55987,
    "c": 0.10364,
    "h": 232.8
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#227EA7
secondary
#C57F60
accent
#733FE9
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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