#227EA8#227EA8

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

Color values

HEX#227EA8
RGBrgb(34, 126, 168)
HSLhsl(199, 66%, 40%)
HSVhsv(199, 80%, 66%)
CMYKcmyk(79.8%, 25%, 0%, 34.1%)
CIE-LABlab(49.60, -11.45, -29.81)
CIE-LCHlch(49.60, 31.93, 248.98°)
OKLaboklab(56.04% -0.0623 -0.084)
OKLCHoklch(56.04% 0.105 233.5)
XYZxyz(15.1856, 18.0871, 39.7290)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EA8 #A84C22
analogous
#22A88F #227EA8 #223BA8
triadic
#227EA8 #A8227E #7EA822
tetradic
#227EA8 #8F22A8 #A84C22 #3BA822
square
#227EA8 #8F22A8 #A84C22 #3BA822
split-complementary
#227EA8 #A8223B #A88F22
monochromatic
#0D3242 #185875 #227EA8 #32A2D5 #65B9E0

Accessibility & contrast

On white

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

On black

4.62
#227EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227EA8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EA8#FFFFFF#000000##000000
##227EA81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#697DAA
Deuteranopia (green-blind)
#5770A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227ea8;
/* rgb */ color: rgb(34, 126, 168);
/* oklch */ color: oklch(56.0% 0.105 233.5);
Tailwind
colors: {
  custom: {
    50: '#73a3c2',
    500: '#227ea8',
    950: '#000000',
  },
}
SCSS
$custom: #227ea8;
$custom-light: #73a3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227ea8",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 198.806,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56038,
    "c": 0.1046,
    "h": 233.5
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#227EA8
secondary
#C58061
accent
#743FE9
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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