#2271AF#2271AF
#2271AF is a mid, vivid cyan. Relative luminance 0.152; OKLCH L 53.3% C 0.122 H 247.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2271AF |
|---|---|
| RGB | rgb(34, 113, 175) |
| HSL | hsl(206, 67%, 41%) |
| HSV | hsv(206, 81%, 69%) |
| CMYK | cmyk(80.6%, 35.4%, 0%, 31.4%) |
| CIE-LAB | lab(45.97, -1.17, -39.60) |
| CIE-LCH | lch(45.97, 39.61, 268.31°) |
| OKLab | oklab(53.27% -0.0479 -0.1127) |
| OKLCH | oklch(53.27% 0.122 247) |
| XYZ | xyz(14.2997, 15.2437, 42.7378) |
| Luminance | 0.1525 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 2.34
Bluish
#2976BB
ΔE00 2.42
Muted Blue
#3B719F
ΔE00 2.48
Medium Blue
#2C6FBB
ΔE00 3.00
Mid Blue
#276AB3
ΔE00 3.43
Windows Blue
#3778BF
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2271AF #AF6022
analogous
#22AFA6 #2271AF #222AAF
triadic
#2271AF #AF2271 #71AF22
tetradic
#2271AF #A622AF #AF6022 #2AAF22
square
#2271AF #A622AF #AF6022 #2AAF22
split-complementary
#2271AF #AF222A #AFA622
monochromatic
#0E2F49 #18507C #2271AF #3691D8 #69ADE2
Accessibility & contrast
On white
5.19
#2271AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#2271AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2271AF
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2271AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2271AF | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5474B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#008088
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2271af; /* rgb */ color: rgb(34, 113, 175); /* oklch */ color: oklch(53.3% 0.122 247.0);
Tailwind
colors: {
custom: {
50: '#7499c7',
500: '#2271af',
950: '#000000',
},
}SCSS
$custom: #2271af; $custom-light: #7499c7; $custom-dark: #000000;
JSON
{
"hex": "#2271af",
"rgb": {
"r": 34,
"g": 113,
"b": 175
},
"hsl": {
"h": 206.383,
"s": 67.464,
"l": 40.98
},
"oklch": {
"l": 0.5327,
"c": 0.12247,
"h": 247
},
"luminance": 0.15245
}Semantic roles & 50–950 ramp
primary
#2271AF
secondary
#C89065
accent
#893DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82