#227CA7#227CA7

#227CA7 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.5% C 0.105 H 234.6°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#227CA7
RGBrgb(34, 124, 167)
HSLhsl(199, 66%, 39%)
HSVhsv(199, 80%, 65%)
CMYKcmyk(79.6%, 25.7%, 0%, 34.5%)
CIE-LABlab(48.94, -10.67, -30.26)
CIE-LCHlch(48.94, 32.09, 250.58°)
OKLaboklab(55.49% -0.0607 -0.0854)
OKLCHoklch(55.49% 0.105 234.6)
XYZxyz(14.8396, 17.5436, 39.1559)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227CA7 #A74D22
analogous
#22A78F #227CA7 #223AA7
triadic
#227CA7 #A7227C #7CA722
tetradic
#227CA7 #8F22A7 #A74D22 #3AA722
square
#227CA7 #8F22A7 #A74D22 #3AA722
split-complementary
#227CA7 #A7223A #A78F22
monochromatic
#0D3041 #185674 #227CA7 #31A0D5 #64B8DF

Accessibility & contrast

On white

4.66
#227CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#227CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227CA7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227CA7#FFFFFF#000000##FFFFFF
##227CA71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#556FA6
Tritanopia (blue-blind)
#00878B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227ca7;
/* rgb */ color: rgb(34, 124, 167);
/* oklch */ color: oklch(55.5% 0.105 234.6);
Tailwind
colors: {
  custom: {
    50: '#73a1c1',
    500: '#227ca7',
    950: '#000000',
  },
}
SCSS
$custom: #227ca7;
$custom-light: #73a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#227ca7",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 199.398,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55494,
    "c": 0.10477,
    "h": 234.6
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#227CA7
secondary
#C58160
accent
#763FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090F12
muted
#7B7E81

Preview Lab

Preview with #227CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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