#2277D5#2277D5

#2277D5 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 57.0% C 0.164 H 254.5°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2277D5
RGBrgb(34, 119, 213)
HSLhsl(212, 72%, 48%)
HSVhsv(212, 84%, 84%)
CMYKcmyk(84%, 44.1%, 0%, 16.5%)
CIE-LABlab(49.90, 9.64, -55.18)
CIE-LCHlch(49.90, 56.01, 279.91°)
OKLaboklab(57.05% -0.0438 -0.1583)
OKLCHoklch(57.05% 0.164 254.5)
XYZxyz(19.2622, 18.3354, 65.4617)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2277D5 #D58022
analogous
#22D0D5 #2277D5 #2622D5
triadic
#2277D5 #D52277 #77D522
tetradic
#2277D5 #D522D0 #D58022 #22D526
square
#2277D5 #D522D0 #D58022 #22D526
split-complementary
#2277D5 #D52622 #D0D522
monochromatic
#113C6B #1A5AA0 #2277D5 #5196E3 #86B6EC

Accessibility & contrast

On white

4.50
#2277D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#2277D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2277D5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2277D5#FFFFFF#000000##000000
##2277D51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#1E6FD3
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2277d5;
/* rgb */ color: rgb(34, 119, 213);
/* oklch */ color: oklch(57.0% 0.164 254.5);
Tailwind
colors: {
  custom: {
    50: '#7c9de2',
    500: '#2277d5',
    950: '#000000',
  },
}
SCSS
$custom: #2277d5;
$custom-light: #7c9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#2277d5",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 213
  },
  "hsl": {
    "h": 211.508,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.16429,
    "h": 254.5
  },
  "luminance": 0.18338
}

Semantic roles & 50–950 ramp

primary
#2277D5
secondary
#D5AC7E
accent
#9839EF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2277D5

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

Preview Lab → · Contrast checker → · Palette generator →

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