#2277A8#2277A8

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

Color values

HEX#2277A8
RGBrgb(34, 119, 168)
HSLhsl(202, 66%, 40%)
HSVhsv(202, 80%, 66%)
CMYKcmyk(79.8%, 29.2%, 0%, 34.1%)
CIE-LABlab(47.44, -7.39, -33.19)
CIE-LCHlch(47.44, 34.00, 257.44°)
OKLaboklab(54.32% -0.0556 -0.0939)
OKLCHoklch(54.32% 0.109 239.4)
XYZxyz(14.3216, 16.3591, 39.4410)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2277A8 #A85322
analogous
#22A896 #2277A8 #2234A8
triadic
#2277A8 #A82277 #77A822
tetradic
#2277A8 #9622A8 #A85322 #34A822
square
#2277A8 #9622A8 #A85322 #34A822
split-complementary
#2277A8 #A82234 #A89622
monochromatic
#0D2F42 #185375 #2277A8 #329AD5 #65B3E0

Accessibility & contrast

On white

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

On black

4.27
#2277A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2277A8#FFFFFF#000000##FFFFFF
##2277A81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6077AA
Deuteranopia (green-blind)
#4E6BA7
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2277a8;
/* rgb */ color: rgb(34, 119, 168);
/* oklch */ color: oklch(54.3% 0.109 239.4);
Tailwind
colors: {
  custom: {
    50: '#739ec2',
    500: '#2277a8',
    950: '#000000',
  },
}
SCSS
$custom: #2277a8;
$custom-light: #739ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2277a8",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 168
  },
  "hsl": {
    "h": 201.94,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5432,
    "c": 0.10914,
    "h": 239.4
  },
  "luminance": 0.16361
}

Semantic roles & 50–950 ramp

primary
#2277A8
secondary
#C58561
accent
#7D3FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2277A8

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

Preview Lab → · Contrast checker → · Palette generator →

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