#2272A7#2272A7

#2272A7 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.112 H 242.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2272A7
RGBrgb(34, 114, 167)
HSLhsl(204, 66%, 39%)
HSVhsv(204, 80%, 65%)
CMYKcmyk(79.6%, 31.7%, 0%, 34.5%)
CIE-LABlab(45.86, -4.79, -35.09)
CIE-LCHlch(45.86, 35.42, 262.23°)
OKLaboklab(53.05% -0.0512 -0.0995)
OKLCHoklch(53.05% 0.112 242.8)
XYZxyz(13.6493, 15.1631, 38.7591)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2272A7 #A75722
analogous
#22A79A #2272A7 #222FA7
triadic
#2272A7 #A72272 #72A722
tetradic
#2272A7 #9A22A7 #A75722 #2FA722
square
#2272A7 #9A22A7 #A75722 #2FA722
split-complementary
#2272A7 #A7222F #A79A22
monochromatic
#0D2D41 #184F74 #2272A7 #3194D5 #64AEDF

Accessibility & contrast

On white

5.21
#2272A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2272A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2272A7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2272A7#FFFFFF#000000##FFFFFF
##2272A71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5973A9
Deuteranopia (green-blind)
#4767A6
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2272a7;
/* rgb */ color: rgb(34, 114, 167);
/* oklch */ color: oklch(53.0% 0.112 242.8);
Tailwind
colors: {
  custom: {
    50: '#729ac1',
    500: '#2272a7',
    950: '#000000',
  },
}
SCSS
$custom: #2272a7;
$custom-light: #729ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#2272a7",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 167
  },
  "hsl": {
    "h": 203.91,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.11194,
    "h": 242.8
  },
  "luminance": 0.15165
}

Semantic roles & 50–950 ramp

primary
#2272A7
secondary
#C58860
accent
#833FE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2272A7

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

Preview Lab → · Contrast checker → · Palette generator →

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