#2F81AC#2F81AC
#2F81AC is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.3% C 0.102 H 235.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F81AC |
|---|---|
| RGB | rgb(47, 129, 172) |
| HSL | hsl(201, 57%, 43%) |
| HSV | hsv(201, 73%, 67%) |
| CMYK | cmyk(72.7%, 25%, 0%, 32.5%) |
| CIE-LAB | lab(51.01, -10.13, -29.90) |
| CIE-LCH | lch(51.01, 31.57, 251.29°) |
| OKLab | oklab(57.31% -0.0576 -0.0842) |
| OKLCH | oklch(57.31% 0.102 235.6) |
| XYZ | xyz(16.4660, 19.2815, 41.8756) |
| Luminance | 0.1928 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cerulean
#007BA7
ΔE00 3.19
Nice Blue
#107AB0
ΔE00 3.51
Steel Blue
#4682B4
ΔE00 4.33
Dirty Blue
#3F829D
ΔE00 4.66
Stormy Blue
#507B9C
ΔE00 4.95
Cool Blue
#4984B8
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F81AC #AC5A2F
analogous
#2FAC98 #2F81AC #2F42AC
triadic
#2F81AC #AC2F81 #81AC2F
tetradic
#2F81AC #982FAC #AC5A2F #42AC2F
square
#2F81AC #982FAC #AC5A2F #42AC2F
split-complementary
#2F81AC #AC2F42 #AC982F
monochromatic
#15394C #225D7C #2F81AC #4BA1CE #7BBADB
Accessibility & contrast
On white
4.32
#2F81AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#2F81AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F81AC
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F81AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F81AC | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#5B74AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2f81ac; /* rgb */ color: rgb(47, 129, 172); /* oklch */ color: oklch(57.3% 0.102 235.6);
Tailwind
colors: {
custom: {
50: '#78a5c5',
500: '#2f81ac',
950: '#000000',
},
}SCSS
$custom: #2f81ac; $custom-light: #78a5c5; $custom-dark: #000000;
JSON
{
"hex": "#2f81ac",
"rgb": {
"r": 47,
"g": 129,
"b": 172
},
"hsl": {
"h": 200.64,
"s": 57.078,
"l": 42.941
},
"oklch": {
"l": 0.57312,
"c": 0.10199,
"h": 235.6
},
"luminance": 0.19283
}Semantic roles & 50–950 ramp
primary
#2F81AC
secondary
#C38F74
accent
#7C47E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81