#2F88B2#2F88B2
#2F88B2 is a mid, moderate cyan. Relative luminance 0.214; OKLCH L 59.3% C 0.104 H 233.1°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2F88B2 |
|---|---|
| RGB | rgb(47, 136, 178) |
| HSL | hsl(199, 58%, 44%) |
| HSV | hsv(199, 74%, 70%) |
| CMYK | cmyk(73.6%, 23.6%, 0%, 30.2%) |
| CIE-LAB | lab(53.41, -12.01, -29.63) |
| CIE-LCH | lch(53.41, 31.97, 247.94°) |
| OKLab | oklab(59.31% -0.0625 -0.0833) |
| OKLCH | oklch(59.31% 0.104 233.1) |
| XYZ | xyz(18.0091, 21.4249, 45.2971) |
| Luminance | 0.2143 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 4.61
Cerulean
#007BA7
ΔE00 5.24
Steel Blue
#4682B4
ΔE00 5.42
Water Blue
#0E87CC
ΔE00 5.42
Cool Blue
#4984B8
ΔE00 5.79
Nice Blue
#107AB0
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F88B2 #B2592F
analogous
#2FB29B #2F88B2 #2F46B2
triadic
#2F88B2 #B22F88 #88B22F
tetradic
#2F88B2 #9B2FB2 #B2592F #46B22F
square
#2F88B2 #9B2FB2 #B2592F #46B22F
split-complementary
#2F88B2 #B22F46 #B29B2F
monochromatic
#153E51 #226382 #2F88B2 #4EA6D0 #7EBFDD
Accessibility & contrast
On white
3.97
#2F88B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#2F88B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F88B2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F88B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F88B2 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7387B4
Deuteranopia (green-blind)
#627AB1
Tritanopia (blue-blind)
#009396
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #2f88b2; /* rgb */ color: rgb(47, 136, 178); /* oklch */ color: oklch(59.3% 0.104 233.1);
Tailwind
colors: {
custom: {
50: '#79aac9',
500: '#2f88b2',
950: '#000000',
},
}SCSS
$custom: #2f88b2; $custom-light: #79aac9; $custom-dark: #000000;
JSON
{
"hex": "#2f88b2",
"rgb": {
"r": 47,
"g": 136,
"b": 178
},
"hsl": {
"h": 199.237,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.59307,
"c": 0.10415,
"h": 233.1
},
"luminance": 0.21427
}Semantic roles & 50–950 ramp
primary
#2F88B2
secondary
#C69077
accent
#7846E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82