#2F7ABB#2F7ABB
#2F7ABB is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.5% C 0.125 H 248.3°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7ABB |
|---|---|
| RGB | rgb(47, 122, 187) |
| HSL | hsl(208, 60%, 46%) |
| HSV | hsv(208, 75%, 73%) |
| CMYK | cmyk(74.9%, 34.8%, 0%, 26.7%) |
| CIE-LAB | lab(49.63, -0.63, -40.73) |
| CIE-LCH | lch(49.63, 40.74, 269.12°) |
| OKLab | oklab(56.45% -0.046 -0.1158) |
| OKLCH | oklch(56.45% 0.125 248.3) |
| XYZ | xyz(17.0981, 18.1093, 49.5984) |
| Luminance | 0.1811 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 1.51
Windows Blue
#3778BF
ΔE00 1.93
Flat Blue
#3C73A8
ΔE00 3.39
Steel Blue
#4682B4
ΔE00 3.49
Cool Blue
#4984B8
ΔE00 4.10
Nice Blue
#107AB0
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7ABB #BB702F
analogous
#2FBBB6 #2F7ABB #2F34BB
triadic
#2F7ABB #BB2F7A #7ABB2F
tetradic
#2F7ABB #B62FBB #BB702F #34BB2F
square
#2F7ABB #B62FBB #BB702F #34BB2F
split-complementary
#2F7ABB #BB2F34 #BBB62F
monochromatic
#163A59 #235A8A #2F7ABB #5398D4 #84B5E0
Accessibility & contrast
On white
4.54
#2F7ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#2F7ABB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7ABB
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7ABB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7ABB | 1.00 | 4.54 | 4.62 | 4.62 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C7DBE
Deuteranopia (green-blind)
#4870BA
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f7abb; /* rgb */ color: rgb(47, 122, 187); /* oklch */ color: oklch(56.5% 0.125 248.3);
Tailwind
colors: {
custom: {
50: '#7aa0d0',
500: '#2f7abb',
950: '#000000',
},
}SCSS
$custom: #2f7abb; $custom-light: #7aa0d0; $custom-dark: #000000;
JSON
{
"hex": "#2f7abb",
"rgb": {
"r": 47,
"g": 122,
"b": 187
},
"hsl": {
"h": 207.857,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.56452,
"c": 0.12459,
"h": 248.3
},
"luminance": 0.18111
}Semantic roles & 50–950 ramp
primary
#2F7ABB
secondary
#C9A07C
accent
#8E45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82