#2F81AB#2F81AB
#2F81AB is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.101 H 235.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F81AB |
|---|---|
| RGB | rgb(47, 129, 171) |
| HSL | hsl(200, 57%, 43%) |
| HSV | hsv(200, 73%, 67%) |
| CMYK | cmyk(72.5%, 24.6%, 0%, 32.9%) |
| CIE-LAB | lab(50.97, -10.48, -29.39) |
| CIE-LCH | lch(50.97, 31.20, 250.38°) |
| OKLab | oklab(57.26% -0.0579 -0.0827) |
| OKLCH | oklch(57.26% 0.101 235) |
| XYZ | xyz(16.3703, 19.2433, 41.3717) |
| Luminance | 0.1925 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 3.09
Nice Blue
#107AB0
ΔE00 3.69
Dirty Blue
#3F829D
ΔE00 4.38
Steel Blue
#4682B4
ΔE00 4.58
Stormy Blue
#507B9C
ΔE00 4.98
Cool Blue
#4984B8
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F81AB #AB592F
analogous
#2FAB97 #2F81AB #2F43AB
triadic
#2F81AB #AB2F81 #81AB2F
tetradic
#2F81AB #972FAB #AB592F #43AB2F
square
#2F81AB #972FAB #AB592F #43AB2F
split-complementary
#2F81AB #AB2F43 #AB972F
monochromatic
#15394B #225D7B #2F81AB #4AA1CD #7ABADA
Accessibility & contrast
On white
4.33
#2F81AB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#2F81AB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F81AB
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F81AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F81AB | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#5C74AA
Tritanopia (blue-blind)
#008C8F
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f81ab; /* rgb */ color: rgb(47, 129, 171); /* oklch */ color: oklch(57.3% 0.101 235.0);
Tailwind
colors: {
custom: {
50: '#78a5c4',
500: '#2f81ab',
950: '#000000',
},
}SCSS
$custom: #2f81ab; $custom-light: #78a5c4; $custom-dark: #000000;
JSON
{
"hex": "#2f81ab",
"rgb": {
"r": 47,
"g": 129,
"b": 171
},
"hsl": {
"h": 200.323,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.57262,
"c": 0.10098,
"h": 235
},
"luminance": 0.19245
}Semantic roles & 50–950 ramp
primary
#2F81AB
secondary
#C38E73
accent
#7B48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81