#2278A8#2278A8

#2278A8 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.6% C 0.108 H 238.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#2278A8
RGBrgb(34, 120, 168)
HSLhsl(201, 66%, 40%)
HSVhsv(201, 80%, 66%)
CMYKcmyk(79.8%, 28.6%, 0%, 34.1%)
CIE-LABlab(47.75, -7.98, -32.70)
CIE-LCHlch(47.75, 33.66, 256.29°)
OKLaboklab(54.57% -0.0565 -0.0925)
OKLCHoklch(54.57% 0.108 238.6)
XYZxyz(14.4412, 16.5984, 39.4809)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2278A8 #A85222
analogous
#22A895 #2278A8 #2235A8
triadic
#2278A8 #A82278 #78A822
tetradic
#2278A8 #9522A8 #A85222 #35A822
square
#2278A8 #9522A8 #A85222 #35A822
split-complementary
#2278A8 #A82235 #A89522
monochromatic
#0D2F42 #185475 #2278A8 #329BD5 #65B4E0

Accessibility & contrast

On white

4.86
#2278A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#2278A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2278A8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2278A8#FFFFFF#000000##FFFFFF
##2278A81.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6178AA
Deuteranopia (green-blind)
#4F6CA7
Tritanopia (blue-blind)
#008489
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2278a8;
/* rgb */ color: rgb(34, 120, 168);
/* oklch */ color: oklch(54.6% 0.108 238.6);
Tailwind
colors: {
  custom: {
    50: '#739ec2',
    500: '#2278a8',
    950: '#000000',
  },
}
SCSS
$custom: #2278a8;
$custom-light: #739ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#2278a8",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 168
  },
  "hsl": {
    "h": 201.493,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54565,
    "c": 0.10841,
    "h": 238.6
  },
  "luminance": 0.166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2278A8

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

Preview Lab → · Contrast checker → · Palette generator →

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