#2278A9#2278A9

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

Color values

HEX#2278A9
RGBrgb(34, 120, 169)
HSLhsl(202, 67%, 40%)
HSVhsv(202, 80%, 66%)
CMYKcmyk(79.9%, 29%, 0%, 33.7%)
CIE-LABlab(47.80, -7.61, -33.21)
CIE-LCHlch(47.80, 34.07, 257.09°)
OKLaboklab(54.62% -0.0562 -0.094)
OKLCHoklch(54.62% 0.11 239.1)
XYZxyz(14.5348, 16.6358, 39.9734)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2278A9 #A95322
analogous
#22A997 #2278A9 #2234A9
triadic
#2278A9 #A92278 #78A922
tetradic
#2278A9 #9722A9 #A95322 #34A922
square
#2278A9 #9722A9 #A95322 #34A922
split-complementary
#2278A9 #A92234 #A99722
monochromatic
#0D3043 #185476 #2278A9 #329AD6 #65B4E0

Accessibility & contrast

On white

4.85
#2278A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#2278A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2278A9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2278A9#FFFFFF#000000##FFFFFF
##2278A91.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2278a9;
/* rgb */ color: rgb(34, 120, 169);
/* oklch */ color: oklch(54.6% 0.110 239.1);
Tailwind
colors: {
  custom: {
    50: '#739ec3',
    500: '#2278a9',
    950: '#000000',
  },
}
SCSS
$custom: #2278a9;
$custom-light: #739ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#2278a9",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 169
  },
  "hsl": {
    "h": 201.778,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54618,
    "c": 0.10951,
    "h": 239.1
  },
  "luminance": 0.16638
}

Semantic roles & 50–950 ramp

primary
#2278A9
secondary
#C58661
accent
#7C3EE9
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2278A9

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

Preview Lab → · Contrast checker → · Palette generator →

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