#2279A8#2279A8

#2279A8 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.108 H 237.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2279A8
RGBrgb(34, 121, 168)
HSLhsl(201, 66%, 40%)
HSVhsv(201, 80%, 66%)
CMYKcmyk(79.8%, 28%, 0%, 34.1%)
CIE-LABlab(48.06, -8.57, -32.22)
CIE-LCHlch(48.06, 33.34, 255.11°)
OKLaboklab(54.81% -0.0575 -0.0911)
OKLCHoklch(54.81% 0.108 237.7)
XYZxyz(14.5621, 16.8402, 39.5212)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2279A8 #A85122
analogous
#22A894 #2279A8 #2236A8
triadic
#2279A8 #A82279 #79A822
tetradic
#2279A8 #9422A8 #A85122 #36A822
square
#2279A8 #9422A8 #A85122 #36A822
split-complementary
#2279A8 #A82236 #A89422
monochromatic
#0D3042 #185475 #2279A8 #329CD5 #65B5E0

Accessibility & contrast

On white

4.81
#2279A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2279A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2279A8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2279A8#FFFFFF#000000##FFFFFF
##2279A81.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6379AA
Deuteranopia (green-blind)
#506DA7
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2279a8;
/* rgb */ color: rgb(34, 121, 168);
/* oklch */ color: oklch(54.8% 0.108 237.7);
Tailwind
colors: {
  custom: {
    50: '#739fc2',
    500: '#2279a8',
    950: '#000000',
  },
}
SCSS
$custom: #2279a8;
$custom-light: #739fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2279a8",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 168
  },
  "hsl": {
    "h": 201.045,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.10772,
    "h": 237.7
  },
  "luminance": 0.16842
}

Semantic roles & 50–950 ramp

primary
#2279A8
secondary
#C58461
accent
#7A3FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2279A8

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

Preview Lab → · Contrast checker → · Palette generator →

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