#227AA7#227AA7

#227AA7 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 55.0% C 0.106 H 236.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#227AA7
RGBrgb(34, 122, 167)
HSLhsl(200, 66%, 39%)
HSVhsv(200, 80%, 65%)
CMYKcmyk(79.6%, 26.9%, 0%, 34.5%)
CIE-LABlab(48.32, -9.51, -31.23)
CIE-LCHlch(48.32, 32.65, 253.06°)
OKLaboklab(55% -0.0588 -0.0882)
OKLCHoklch(55% 0.106 236.3)
XYZxyz(14.5915, 17.0474, 39.0732)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227AA7 #A74F22
analogous
#22A792 #227AA7 #2237A7
triadic
#227AA7 #A7227A #7AA722
tetradic
#227AA7 #9222A7 #A74F22 #37A722
square
#227AA7 #9222A7 #A74F22 #37A722
split-complementary
#227AA7 #A72237 #A79222
monochromatic
#0D3041 #185574 #227AA7 #319ED5 #64B6DF

Accessibility & contrast

On white

4.76
#227AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#227AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227AA7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227AA7#FFFFFF#000000##FFFFFF
##227AA71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647AA9
Deuteranopia (green-blind)
#526DA6
Tritanopia (blue-blind)
#008689
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227aa7;
/* rgb */ color: rgb(34, 122, 167);
/* oklch */ color: oklch(55.0% 0.106 236.3);
Tailwind
colors: {
  custom: {
    50: '#73a0c1',
    500: '#227aa7',
    950: '#000000',
  },
}
SCSS
$custom: #227aa7;
$custom-light: #73a0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#227aa7",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 167
  },
  "hsl": {
    "h": 200.301,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.106,
    "h": 236.3
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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