#2F81B3#2F81B3
#2F81B3 is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.7% C 0.109 H 239.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2F81B3 |
|---|---|
| RGB | rgb(47, 129, 179) |
| HSL | hsl(203, 58%, 44%) |
| HSV | hsv(203, 74%, 70%) |
| CMYK | cmyk(73.7%, 27.9%, 0%, 29.8%) |
| CIE-LAB | lab(51.33, -7.66, -33.44) |
| CIE-LCH | lch(51.33, 34.31, 257.10°) |
| OKLab | oklab(57.67% -0.0552 -0.0945) |
| OKLCH | oklch(57.67% 0.109 239.7) |
| XYZ | xyz(17.1560, 19.5576, 45.5099) |
| Luminance | 0.1956 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.97
Nice Blue
#107AB0
ΔE00 3.00
Water Blue
#0E87CC
ΔE00 3.63
Cool Blue
#4984B8
ΔE00 3.71
Cerulean (survey)
#0485D1
ΔE00 4.05
Cerulean
#007BA7
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F81B3 #B3612F
analogous
#2FB3A3 #2F81B3 #2F3FB3
triadic
#2F81B3 #B32F81 #81B32F
tetradic
#2F81B3 #A32FB3 #B3612F #3FB32F
square
#2F81B3 #A32FB3 #B3612F #3FB32F
split-complementary
#2F81B3 #B32F3F #B3A32F
monochromatic
#163B52 #225E83 #2F81B3 #4F9FD1 #7FBADD
Accessibility & contrast
On white
4.28
#2F81B3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#2F81B3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F81B3
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F81B3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F81B3 | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A81B5
Deuteranopia (green-blind)
#5875B2
Tritanopia (blue-blind)
#008E92
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f81b3; /* rgb */ color: rgb(47, 129, 179); /* oklch */ color: oklch(57.7% 0.109 239.7);
Tailwind
colors: {
custom: {
50: '#79a5ca',
500: '#2f81b3',
950: '#000000',
},
}SCSS
$custom: #2f81b3; $custom-light: #79a5ca; $custom-dark: #000000;
JSON
{
"hex": "#2f81b3",
"rgb": {
"r": 47,
"g": 129,
"b": 179
},
"hsl": {
"h": 202.727,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.57669,
"c": 0.10939,
"h": 239.7
},
"luminance": 0.1956
}Semantic roles & 50–950 ramp
primary
#2F81B3
secondary
#C69578
accent
#8146E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82