#2271C1#2271C1

#2271C1 is a mid, vivid cyan. Relative luminance 0.160; OKLCH L 54.4% C 0.145 H 252.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2271C1
RGBrgb(34, 113, 193)
HSLhsl(210, 70%, 45%)
HSVhsv(210, 82%, 76%)
CMYKcmyk(82.4%, 41.5%, 0%, 24.3%)
CIE-LABlab(46.97, 5.71, -48.43)
CIE-LCHlch(46.97, 48.77, 276.73°)
OKLaboklab(54.38% -0.0433 -0.1386)
OKLCHoklch(54.38% 0.145 252.7)
XYZxyz(16.1868, 15.9986, 52.6766)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2271C1 #C17222
analogous
#22C0C1 #2271C1 #2322C1
triadic
#2271C1 #C12271 #71C122
tetradic
#2271C1 #C122C0 #C17222 #22C123
square
#2271C1 #C122C0 #C17222 #22C123
split-complementary
#2271C1 #C12322 #C0C122
monochromatic
#103459 #19538D #2271C1 #4290DE #76AEE7

Accessibility & contrast

On white

5.00
#2271C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2271C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2271C1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2271C1#FFFFFF#000000##FFFFFF
##2271C11.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#00848F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2271c1;
/* rgb */ color: rgb(34, 113, 193);
/* oklch */ color: oklch(54.4% 0.145 252.7);
Tailwind
colors: {
  custom: {
    50: '#7899d4',
    500: '#2271c1',
    950: '#000000',
  },
}
SCSS
$custom: #2271c1;
$custom-light: #7899d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2271c1",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 193
  },
  "hsl": {
    "h": 210.189,
    "s": 70.044,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54385,
    "c": 0.14524,
    "h": 252.7
  },
  "luminance": 0.16001
}

Semantic roles & 50–950 ramp

primary
#2271C1
secondary
#CEA071
accent
#943BED
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0A0D14
muted
#7C7E83

Preview Lab

Preview with #2271C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2271C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva