#2278A7#2278A7

#2278A7 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.107 H 238.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#2278A7
RGBrgb(34, 120, 167)
HSLhsl(201, 66%, 39%)
HSVhsv(201, 80%, 65%)
CMYKcmyk(79.6%, 28.1%, 0%, 34.5%)
CIE-LABlab(47.70, -8.35, -32.19)
CIE-LCHlch(47.70, 33.26, 255.46°)
OKLaboklab(54.51% -0.0569 -0.091)
OKLCHoklch(54.51% 0.107 238)
XYZxyz(14.3484, 16.5613, 38.9921)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2278A7 #A75122
analogous
#22A794 #2278A7 #2236A7
triadic
#2278A7 #A72278 #78A722
tetradic
#2278A7 #9422A7 #A75122 #36A722
square
#2278A7 #9422A7 #A75122 #36A722
split-complementary
#2278A7 #A72236 #A79422
monochromatic
#0D2F41 #185374 #2278A7 #319BD5 #64B4DF

Accessibility & contrast

On white

4.87
#2278A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2278A7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2278A7#FFFFFF#000000##FFFFFF
##2278A71.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2278a7;
/* rgb */ color: rgb(34, 120, 167);
/* oklch */ color: oklch(54.5% 0.107 238.0);
Tailwind
colors: {
  custom: {
    50: '#739ec1',
    500: '#2278a7',
    950: '#000000',
  },
}
SCSS
$custom: #2278a7;
$custom-light: #739ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#2278a7",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 167
  },
  "hsl": {
    "h": 201.203,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.10733,
    "h": 238
  },
  "luminance": 0.16563
}

Semantic roles & 50–950 ramp

primary
#2278A7
secondary
#C58460
accent
#7B3FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2278A7

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

Preview Lab → · Contrast checker → · Palette generator →

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