#2278A6#2278A6

#2278A6 is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.5% C 0.106 H 237.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2278A6
RGBrgb(34, 120, 166)
HSLhsl(201, 66%, 39%)
HSVhsv(201, 80%, 65%)
CMYKcmyk(79.5%, 27.7%, 0%, 34.9%)
CIE-LABlab(47.66, -8.72, -31.68)
CIE-LCHlch(47.66, 32.86, 254.62°)
OKLaboklab(54.46% -0.0572 -0.0895)
OKLCHoklch(54.46% 0.106 237.4)
XYZxyz(14.2564, 16.5245, 38.5072)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2278A6 #A65022
analogous
#22A692 #2278A6 #2236A6
triadic
#2278A6 #A62278 #78A622
tetradic
#2278A6 #9222A6 #A65022 #36A622
square
#2278A6 #9222A6 #A65022 #36A622
split-complementary
#2278A6 #A62236 #A69222
monochromatic
#0D2F40 #185373 #2278A6 #309BD5 #63B4DF

Accessibility & contrast

On white

4.88
#2278A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#2278A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2278A6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2278A6#FFFFFF#000000##FFFFFF
##2278A61.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6278A8
Deuteranopia (green-blind)
#506CA5
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2278a6;
/* rgb */ color: rgb(34, 120, 166);
/* oklch */ color: oklch(54.5% 0.106 237.4);
Tailwind
colors: {
  custom: {
    50: '#729ec0',
    500: '#2278a6',
    950: '#000000',
  },
}
SCSS
$custom: #2278a6;
$custom-light: #729ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#2278a6",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 166
  },
  "hsl": {
    "h": 200.909,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.10626,
    "h": 237.4
  },
  "luminance": 0.16526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2278A6

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

Preview Lab → · Contrast checker → · Palette generator →

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