#2870AF#2870AF
#2870AF is a mid, vivid cyan. Relative luminance 0.151; OKLCH L 53.2% C 0.122 H 248.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2870AF |
|---|---|
| RGB | rgb(40, 112, 175) |
| HSL | hsl(208, 63%, 42%) |
| HSV | hsv(208, 77%, 69%) |
| CMYK | cmyk(77.1%, 36%, 0%, 31.4%) |
| CIE-LAB | lab(45.82, 0.13, -39.83) |
| CIE-LCH | lch(45.82, 39.83, 270.19°) |
| OKLab | oklab(53.2% -0.0439 -0.1133) |
| OKLCH | oklch(53.2% 0.122 248.8) |
| XYZ | xyz(14.4042, 15.1329, 42.7109) |
| Luminance | 0.1514 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 1.98
Medium Blue
#2C6FBB
ΔE00 2.22
Muted Blue
#3B719F
ΔE00 2.33
Bluish
#2976BB
ΔE00 2.49
Mid Blue
#276AB3
ΔE00 2.64
Windows Blue
#3778BF
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2870AF #AF6728
analogous
#28AFAB #2870AF #282CAF
triadic
#2870AF #AF2870 #70AF28
tetradic
#2870AF #AB28AF #AF6728 #2CAF28
square
#2870AF #AB28AF #AF6728 #2CAF28
split-complementary
#2870AF #AF282C #AFAB28
monochromatic
#11304B #1D507D #2870AF #418FD4 #73ACDF
Accessibility & contrast
On white
5.21
#2870AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2870AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2870AF
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2870AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2870AF | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5373B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#007F87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #2870af; /* rgb */ color: rgb(40, 112, 175); /* oklch */ color: oklch(53.2% 0.122 248.8);
Tailwind
colors: {
custom: {
50: '#7698c7',
500: '#2870af',
950: '#000000',
},
}SCSS
$custom: #2870af; $custom-light: #7698c7; $custom-dark: #000000;
JSON
{
"hex": "#2870af",
"rgb": {
"r": 40,
"g": 112,
"b": 175
},
"hsl": {
"h": 208,
"s": 62.791,
"l": 42.157
},
"oklch": {
"l": 0.53195,
"c": 0.12157,
"h": 248.8
},
"luminance": 0.15135
}Semantic roles & 50–950 ramp
primary
#2870AF
secondary
#C6966D
accent
#8E42E6
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82