#2277A5#2277A5

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

Color values

HEX#2277A5
RGBrgb(34, 119, 165)
HSLhsl(201, 66%, 39%)
HSVhsv(201, 79%, 65%)
CMYKcmyk(79.4%, 27.9%, 0%, 35.3%)
CIE-LABlab(47.30, -8.50, -31.66)
CIE-LCHlch(47.30, 32.78, 254.97°)
OKLaboklab(54.16% -0.0566 -0.0895)
OKLCHoklch(54.16% 0.106 237.7)
XYZxyz(14.0453, 16.2486, 37.9861)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2277A5 #A55022
analogous
#22A592 #2277A5 #2235A5
triadic
#2277A5 #A52277 #77A522
tetradic
#2277A5 #9222A5 #A55022 #35A522
square
#2277A5 #9222A5 #A55022 #35A522
split-complementary
#2277A5 #A52235 #A59222
monochromatic
#0D2E40 #185272 #2277A5 #309BD4 #63B3DF

Accessibility & contrast

On white

4.94
#2277A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2277A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2277A5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2277A5#FFFFFF#000000##FFFFFF
##2277A51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2277a5;
/* rgb */ color: rgb(34, 119, 165);
/* oklch */ color: oklch(54.2% 0.106 237.7);
Tailwind
colors: {
  custom: {
    50: '#729ec0',
    500: '#2277a5',
    950: '#000000',
  },
}
SCSS
$custom: #2277a5;
$custom-light: #729ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2277a5",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 165
  },
  "hsl": {
    "h": 201.069,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54159,
    "c": 0.10588,
    "h": 237.7
  },
  "luminance": 0.1625
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2277A5

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

Preview Lab → · Contrast checker → · Palette generator →

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