#2F81B1#2F81B1
#2F81B1 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.107 H 238.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F81B1 |
|---|---|
| RGB | rgb(47, 129, 177) |
| HSL | hsl(202, 58%, 44%) |
| HSV | hsv(202, 73%, 69%) |
| CMYK | cmyk(73.4%, 27.1%, 0%, 30.6%) |
| CIE-LAB | lab(51.24, -8.37, -32.44) |
| CIE-LCH | lch(51.24, 33.50, 255.54°) |
| OKLab | oklab(57.57% -0.0558 -0.0915) |
| OKLCH | oklch(57.57% 0.107 238.6) |
| XYZ | xyz(16.9552, 19.4772, 44.4523) |
| Luminance | 0.1948 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 3.01
Steel Blue
#4682B4
ΔE00 3.30
Cerulean
#007BA7
ΔE00 3.97
Water Blue
#0E87CC
ΔE00 4.01
Cool Blue
#4984B8
ΔE00 4.05
Cerulean (survey)
#0485D1
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F81B1 #B15F2F
analogous
#2FB1A0 #2F81B1 #2F40B1
triadic
#2F81B1 #B12F81 #81B12F
tetradic
#2F81B1 #A02FB1 #B15F2F #40B12F
square
#2F81B1 #A02FB1 #B15F2F #40B12F
split-complementary
#2F81B1 #B12F40 #B1A02F
monochromatic
#153B50 #225E81 #2F81B1 #4DA0D0 #7EBADD
Accessibility & contrast
On white
4.29
#2F81B1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2F81B1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F81B1
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F81B1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F81B1 | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A81B3
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f81b1; /* rgb */ color: rgb(47, 129, 177); /* oklch */ color: oklch(57.6% 0.107 238.6);
Tailwind
colors: {
custom: {
50: '#79a5c8',
500: '#2f81b1',
950: '#000000',
},
}SCSS
$custom: #2f81b1; $custom-light: #79a5c8; $custom-dark: #000000;
JSON
{
"hex": "#2f81b1",
"rgb": {
"r": 47,
"g": 129,
"b": 177
},
"hsl": {
"h": 202.154,
"s": 58.036,
"l": 43.922
},
"oklch": {
"l": 0.57566,
"c": 0.10722,
"h": 238.6
},
"luminance": 0.19479
}Semantic roles & 50–950 ramp
primary
#2F81B1
secondary
#C59476
accent
#8047E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82