#2271A0#2271A0

#2271A0 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.4% C 0.105 H 239.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2271A0
RGBrgb(34, 113, 160)
HSLhsl(202, 65%, 38%)
HSVhsv(202, 79%, 63%)
CMYKcmyk(78.8%, 29.4%, 0%, 37.3%)
CIE-LABlab(45.20, -6.80, -32.01)
CIE-LCHlch(45.20, 32.72, 258.01°)
OKLaboklab(52.42% -0.0525 -0.0906)
OKLCHoklch(52.42% 0.105 239.9)
XYZxyz(12.9075, 14.6868, 35.4055)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2271A0 #A05122
analogous
#22A090 #2271A0 #2232A0
triadic
#2271A0 #A02271 #71A022
tetradic
#2271A0 #9022A0 #A05122 #32A022
square
#2271A0 #9022A0 #A05122 #32A022
split-complementary
#2271A0 #A02232 #A09022
monochromatic
#0D2A3B #174D6E #2271A0 #2D95D2 #5FAEDD

Accessibility & contrast

On white

5.33
#2271A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2271A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2271A0
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2271A0#FFFFFF#000000##FFFFFF
##2271A01.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B71A2
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#007D81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2271a0;
/* rgb */ color: rgb(34, 113, 160);
/* oklch */ color: oklch(52.4% 0.105 239.9);
Tailwind
colors: {
  custom: {
    50: '#7199bc',
    500: '#2271a0',
    950: '#000000',
  },
}
SCSS
$custom: #2271a0;
$custom-light: #7199bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2271a0",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 160
  },
  "hsl": {
    "h": 202.381,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.52416,
    "c": 0.10469,
    "h": 239.9
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#2271A0
secondary
#C2825C
accent
#7F40E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2271A0

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

Preview Lab → · Contrast checker → · Palette generator →

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