#2F81B6#2F81B6
#2F81B6 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.8% C 0.113 H 241.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2F81B6 |
|---|---|
| RGB | rgb(47, 129, 182) |
| HSL | hsl(204, 59%, 45%) |
| HSV | hsv(204, 74%, 71%) |
| CMYK | cmyk(74.2%, 29.1%, 0%, 28.6%) |
| CIE-LAB | lab(51.47, -6.59, -34.95) |
| CIE-LCH | lch(51.47, 35.57, 259.32°) |
| OKLab | oklab(57.83% -0.0542 -0.0988) |
| OKLCH | oklch(57.83% 0.113 241.3) |
| XYZ | xyz(17.4628, 19.6802, 47.1252) |
| Luminance | 0.1968 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.57
Nice Blue
#107AB0
ΔE00 3.15
Water Blue
#0E87CC
ΔE00 3.18
Cool Blue
#4984B8
ΔE00 3.27
Cerulean (survey)
#0485D1
ΔE00 3.44
Off Blue
#5684AE
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F81B6 #B6642F
analogous
#2FB6A8 #2F81B6 #2F3DB6
triadic
#2F81B6 #B62F81 #81B62F
tetradic
#2F81B6 #A82FB6 #B6642F #3DB62F
square
#2F81B6 #A82FB6 #B6642F #3DB62F
split-complementary
#2F81B6 #B62F3D #B6A82F
monochromatic
#163C55 #225F85 #2F81B6 #509FD2 #81BADE
Accessibility & contrast
On white
4.25
#2F81B6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#2F81B6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F81B6
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F81B6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F81B6 | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6882B8
Deuteranopia (green-blind)
#5675B5
Tritanopia (blue-blind)
#008E94
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f81b6; /* rgb */ color: rgb(47, 129, 182); /* oklch */ color: oklch(57.8% 0.113 241.3);
Tailwind
colors: {
custom: {
50: '#7aa5cc',
500: '#2f81b6',
950: '#000000',
},
}SCSS
$custom: #2f81b6; $custom-light: #7aa5cc; $custom-dark: #000000;
JSON
{
"hex": "#2f81b6",
"rgb": {
"r": 47,
"g": 129,
"b": 182
},
"hsl": {
"h": 203.556,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.57827,
"c": 0.11272,
"h": 241.3
},
"luminance": 0.19682
}Semantic roles & 50–950 ramp
primary
#2F81B6
secondary
#C79879
accent
#8346E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82