#2277A7#2277A7

#2277A7 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.3% C 0.108 H 238.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#2277A7
RGBrgb(34, 119, 167)
HSLhsl(202, 66%, 39%)
HSVhsv(202, 80%, 65%)
CMYKcmyk(79.6%, 28.7%, 0%, 34.5%)
CIE-LABlab(47.39, -7.76, -32.68)
CIE-LCHlch(47.39, 33.59, 256.64°)
OKLaboklab(54.27% -0.0559 -0.0924)
OKLCHoklch(54.27% 0.108 238.8)
XYZxyz(14.2288, 16.3220, 38.9523)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2277A7 #A75222
analogous
#22A795 #2277A7 #2235A7
triadic
#2277A7 #A72277 #77A722
tetradic
#2277A7 #9522A7 #A75222 #35A722
square
#2277A7 #9522A7 #A75222 #35A722
split-complementary
#2277A7 #A72235 #A79522
monochromatic
#0D2F41 #185374 #2277A7 #319AD5 #64B3DF

Accessibility & contrast

On white

4.92
#2277A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#2277A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2277A7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2277A7#FFFFFF#000000##FFFFFF
##2277A71.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6077A9
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2277a7;
/* rgb */ color: rgb(34, 119, 167);
/* oklch */ color: oklch(54.3% 0.108 238.8);
Tailwind
colors: {
  custom: {
    50: '#729ec1',
    500: '#2277a7',
    950: '#000000',
  },
}
SCSS
$custom: #2277a7;
$custom-light: #729ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2277a7",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 167
  },
  "hsl": {
    "h": 201.654,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.10804,
    "h": 238.8
  },
  "luminance": 0.16324
}

Semantic roles & 50–950 ramp

primary
#2277A7
secondary
#C58460
accent
#7C3FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2277A7

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

Preview Lab → · Contrast checker → · Palette generator →

#2277A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva