#2F81B2#2F81B2
#2F81B2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.108 H 239.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F81B2 |
|---|---|
| RGB | rgb(47, 129, 178) |
| HSL | hsl(202, 58%, 44%) |
| HSV | hsv(202, 74%, 70%) |
| CMYK | cmyk(73.6%, 27.5%, 0%, 30.2%) |
| CIE-LAB | lab(51.29, -8.01, -32.94) |
| CIE-LCH | lch(51.29, 33.90, 256.33°) |
| OKLab | oklab(57.62% -0.0555 -0.093) |
| OKLCH | oklch(57.62% 0.108 239.2) |
| XYZ | xyz(17.0553, 19.5172, 44.9792) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 3.00
Steel Blue
#4682B4
ΔE00 3.13
Water Blue
#0E87CC
ΔE00 3.81
Cool Blue
#4984B8
ΔE00 3.87
Cerulean
#007BA7
ΔE00 4.17
Cerulean (survey)
#0485D1
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F81B2 #B2602F
analogous
#2FB2A2 #2F81B2 #2F40B2
triadic
#2F81B2 #B22F81 #81B22F
tetradic
#2F81B2 #A22FB2 #B2602F #40B22F
square
#2F81B2 #A22FB2 #B2602F #40B22F
split-complementary
#2F81B2 #B22F40 #B2A22F
monochromatic
#153B51 #225E82 #2F81B2 #4EA0D0 #7EBADD
Accessibility & contrast
On white
4.28
#2F81B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2F81B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F81B2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F81B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F81B2 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 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)
#6A81B4
Deuteranopia (green-blind)
#5875B1
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f81b2; /* rgb */ color: rgb(47, 129, 178); /* oklch */ color: oklch(57.6% 0.108 239.2);
Tailwind
colors: {
custom: {
50: '#79a5c9',
500: '#2f81b2',
950: '#000000',
},
}SCSS
$custom: #2f81b2; $custom-light: #79a5c9; $custom-dark: #000000;
JSON
{
"hex": "#2f81b2",
"rgb": {
"r": 47,
"g": 129,
"b": 178
},
"hsl": {
"h": 202.443,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.57617,
"c": 0.1083,
"h": 239.2
},
"luminance": 0.19519
}Semantic roles & 50–950 ramp
primary
#2F81B2
secondary
#C69477
accent
#8046E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F13
muted
#7C7F82