#2B71A4#2B71A4
#2B71A4 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.9% C 0.106 H 244.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #2B71A4 |
|---|---|
| RGB | rgb(43, 113, 164) |
| HSL | hsl(205, 58%, 41%) |
| HSV | hsv(205, 74%, 64%) |
| CMYK | cmyk(73.8%, 31.1%, 0%, 35.7%) |
| CIE-LAB | lab(45.64, -4.16, -33.66) |
| CIE-LCH | lch(45.64, 33.92, 262.95°) |
| OKLab | oklab(52.89% -0.0464 -0.0953) |
| OKLCH | oklch(52.89% 0.106 244) |
| XYZ | xyz(13.5996, 15.0026, 37.2938) |
| Luminance | 0.1500 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.76
Flat Blue
#3C73A8
ΔE00 2.57
Bluish
#2976BB
ΔE00 3.50
Dull Blue
#49759C
ΔE00 3.74
Nice Blue
#107AB0
ΔE00 3.99
Medium Blue
#2C6FBB
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B71A4 #A45E2B
analogous
#2BA49A #2B71A4 #2B35A4
triadic
#2B71A4 #A42B71 #71A42B
tetradic
#2B71A4 #9A2BA4 #A45E2B #35A42B
square
#2B71A4 #9A2BA4 #A45E2B #35A42B
split-complementary
#2B71A4 #A42B35 #A49A2B
monochromatic
#122E43 #1E5074 #2B71A4 #3F91CD #70ADD9
Accessibility & contrast
On white
5.25
#2B71A4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#2B71A4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2B71A4
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B71A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B71A4 | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A72A6
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#007D83
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2b71a4; /* rgb */ color: rgb(43, 113, 164); /* oklch */ color: oklch(52.9% 0.106 244.0);
Tailwind
colors: {
custom: {
50: '#7599bf',
500: '#2b71a4',
950: '#000000',
},
}SCSS
$custom: #2b71a4; $custom-light: #7599bf; $custom-dark: #000000;
JSON
{
"hex": "#2b71a4",
"rgb": {
"r": 43,
"g": 113,
"b": 164
},
"hsl": {
"h": 205.289,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.52893,
"c": 0.10602,
"h": 244
},
"luminance": 0.15004
}Semantic roles & 50–950 ramp
primary
#2B71A4
secondary
#C18F6A
accent
#8846E2
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090D12
muted
#7B7E81