#2277A6#2277A6

#2277A6 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.107 H 238.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2277A6
RGBrgb(34, 119, 166)
HSLhsl(201, 66%, 39%)
HSVhsv(201, 80%, 65%)
CMYKcmyk(79.5%, 28.3%, 0%, 34.9%)
CIE-LABlab(47.35, -8.13, -32.17)
CIE-LCHlch(47.35, 33.18, 255.82°)
OKLaboklab(54.21% -0.0562 -0.091)
OKLCHoklch(54.21% 0.107 238.3)
XYZxyz(14.1367, 16.2852, 38.4673)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2277A6 #A65122
analogous
#22A693 #2277A6 #2235A6
triadic
#2277A6 #A62277 #77A622
tetradic
#2277A6 #9322A6 #A65122 #35A622
square
#2277A6 #9322A6 #A65122 #35A622
split-complementary
#2277A6 #A62235 #A69322
monochromatic
#0D2E40 #185373 #2277A6 #309AD5 #63B3DF

Accessibility & contrast

On white

4.93
#2277A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2277A6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2277A6#FFFFFF#000000##FFFFFF
##2277A61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6177A8
Deuteranopia (green-blind)
#4F6BA5
Tritanopia (blue-blind)
#008387
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2277a6;
/* rgb */ color: rgb(34, 119, 166);
/* oklch */ color: oklch(54.2% 0.107 238.3);
Tailwind
colors: {
  custom: {
    50: '#729ec0',
    500: '#2277a6',
    950: '#000000',
  },
}
SCSS
$custom: #2277a6;
$custom-light: #729ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2277a6",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 166
  },
  "hsl": {
    "h": 201.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54213,
    "c": 0.10696,
    "h": 238.3
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#2277A6
secondary
#C4835F
accent
#7B3FE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2277A6

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

Preview Lab → · Contrast checker → · Palette generator →

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