#2278D5#2278D5

#2278D5 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.3% C 0.163 H 254.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2278D5
RGBrgb(34, 120, 213)
HSLhsl(211, 72%, 48%)
HSVhsv(211, 84%, 84%)
CMYKcmyk(84%, 43.7%, 0%, 16.5%)
CIE-LABlab(50.19, 9.02, -54.72)
CIE-LCHlch(50.19, 55.46, 279.36°)
OKLaboklab(57.27% -0.0445 -0.157)
OKLCHoklch(57.27% 0.163 254.2)
XYZxyz(19.3819, 18.5747, 65.5016)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2278D5 #D57F22
analogous
#22D1D5 #2278D5 #2522D5
triadic
#2278D5 #D52278 #78D522
tetradic
#2278D5 #D522D1 #D57F22 #22D525
square
#2278D5 #D522D1 #D57F22 #22D525
split-complementary
#2278D5 #D52522 #D1D522
monochromatic
#113D6B #1A5AA0 #2278D5 #5197E3 #86B7EC

Accessibility & contrast

On white

4.45
#2278D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#2278D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2278D5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2278D5#FFFFFF#000000##000000
##2278D51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4780D9
Deuteranopia (green-blind)
#2270D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2278d5;
/* rgb */ color: rgb(34, 120, 213);
/* oklch */ color: oklch(57.3% 0.163 254.2);
Tailwind
colors: {
  custom: {
    50: '#7c9ee2',
    500: '#2278d5',
    950: '#000000',
  },
}
SCSS
$custom: #2278d5;
$custom-light: #7c9ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#2278d5",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 211.173,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5727,
    "c": 0.16317,
    "h": 254.2
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#2278D5
secondary
#D5AB7E
accent
#9739EF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2278D5

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

Preview Lab → · Contrast checker → · Palette generator →

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