#2F84BA#2F84BA
#2F84BA is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.8% C 0.115 H 240.9°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2F84BA |
|---|---|
| RGB | rgb(47, 132, 186) |
| HSL | hsl(203, 60%, 46%) |
| HSV | hsv(203, 75%, 73%) |
| CMYK | cmyk(74.7%, 29%, 0%, 27.1%) |
| CIE-LAB | lab(52.56, -6.91, -35.54) |
| CIE-LCH | lch(52.56, 36.20, 259.00°) |
| OKLab | oklab(58.75% -0.0558 -0.1005) |
| OKLCH | oklch(58.75% 0.115 240.9) |
| XYZ | xyz(18.2830, 20.6499, 49.4671) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Water Blue
#0E87CC
ΔE00 2.38
Steel Blue
#4682B4
ΔE00 2.72
Cerulean (survey)
#0485D1
ΔE00 2.96
Cool Blue
#4984B8
ΔE00 3.13
Nice Blue
#107AB0
ΔE00 4.14
Off Blue
#5684AE
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F84BA #BA652F
analogous
#2FBAAA #2F84BA #2F3FBA
triadic
#2F84BA #BA2F84 #84BA2F
tetradic
#2F84BA #AA2FBA #BA652F #3FBA2F
square
#2F84BA #AA2FBA #BA652F #3FBA2F
split-complementary
#2F84BA #BA2F3F #BAAA2F
monochromatic
#163F58 #236189 #2F84BA #53A1D3 #84BCE0
Accessibility & contrast
On white
4.09
#2F84BA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#2F84BA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F84BA
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F84BA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F84BA | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B85BC
Deuteranopia (green-blind)
#5878B9
Tritanopia (blue-blind)
#009197
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f84ba; /* rgb */ color: rgb(47, 132, 186); /* oklch */ color: oklch(58.8% 0.115 240.9);
Tailwind
colors: {
custom: {
50: '#7ba7cf',
500: '#2f84ba',
950: '#000000',
},
}SCSS
$custom: #2f84ba; $custom-light: #7ba7cf; $custom-dark: #000000;
JSON
{
"hex": "#2f84ba",
"rgb": {
"r": 47,
"g": 132,
"b": 186
},
"hsl": {
"h": 203.309,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.58753,
"c": 0.11496,
"h": 240.9
},
"luminance": 0.20652
}Semantic roles & 50–950 ramp
primary
#2F84BA
secondary
#C99A7C
accent
#8245E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82