#2271A9#2271A9

#2271A9 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.115 H 244.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#2271A9
RGBrgb(34, 113, 169)
HSLhsl(205, 67%, 40%)
HSVhsv(205, 80%, 66%)
CMYKcmyk(79.9%, 33.1%, 0%, 33.7%)
CIE-LABlab(45.65, -3.43, -36.59)
CIE-LCHlch(45.65, 36.75, 264.64°)
OKLaboklab(52.92% -0.0496 -0.1039)
OKLCHoklch(52.92% 0.115 244.5)
XYZxyz(13.7235, 15.0132, 39.7030)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2271A9 #A95A22
analogous
#22A99E #2271A9 #222EA9
triadic
#2271A9 #A92271 #71A922
tetradic
#2271A9 #9E22A9 #A95A22 #2EA922
square
#2271A9 #9E22A9 #A95A22 #2EA922
split-complementary
#2271A9 #A9222E #A99E22
monochromatic
#0D2D43 #184F76 #2271A9 #3292D6 #65ADE0

Accessibility & contrast

On white

5.25
#2271A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2271A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2271A9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2271A9#FFFFFF#000000##FFFFFF
##2271A91.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5773AB
Deuteranopia (green-blind)
#4467A8
Tritanopia (blue-blind)
#007F85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2271a9;
/* rgb */ color: rgb(34, 113, 169);
/* oklch */ color: oklch(52.9% 0.115 244.5);
Tailwind
colors: {
  custom: {
    50: '#7399c3',
    500: '#2271a9',
    950: '#000000',
  },
}
SCSS
$custom: #2271a9;
$custom-light: #7399c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2271a9",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 169
  },
  "hsl": {
    "h": 204.889,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5292,
    "c": 0.11517,
    "h": 244.5
  },
  "luminance": 0.15015
}

Semantic roles & 50–950 ramp

primary
#2271A9
secondary
#C58B61
accent
#853EE9
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#090D12
muted
#7B7E81

Preview Lab

Preview with #2271A9

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

Preview Lab → · Contrast checker → · Palette generator →

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