#2F7DB8#2F7DB8
#2F7DB8 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 57.0% C 0.118 H 245.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7DB8 |
|---|---|
| RGB | rgb(47, 125, 184) |
| HSL | hsl(206, 59%, 45%) |
| HSV | hsv(206, 74%, 72%) |
| CMYK | cmyk(74.5%, 32.1%, 0%, 27.8%) |
| CIE-LAB | lab(50.37, -3.52, -37.84) |
| CIE-LCH | lch(50.37, 38.00, 264.69°) |
| OKLab | oklab(56.99% -0.0497 -0.1073) |
| OKLCH | oklch(56.99% 0.118 245.1) |
| XYZ | xyz(17.1543, 18.7303, 48.0493) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.67
Bluish
#2976BB
ΔE00 2.96
Nice Blue
#107AB0
ΔE00 3.18
Windows Blue
#3778BF
ΔE00 3.39
Cool Blue
#4984B8
ΔE00 3.41
Cerulean (survey)
#0485D1
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7DB8 #B86A2F
analogous
#2FB8AE #2F7DB8 #2F39B8
triadic
#2F7DB8 #B82F7D #7DB82F
tetradic
#2F7DB8 #AE2FB8 #B86A2F #39B82F
square
#2F7DB8 #AE2FB8 #B86A2F #39B82F
split-complementary
#2F7DB8 #B82F39 #B8AE2F
monochromatic
#163B57 #235C87 #2F7DB8 #529BD3 #82B7DF
Accessibility & contrast
On white
4.42
#2F7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2F7DB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7DB8
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7DB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7DB8 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7db8; /* rgb */ color: rgb(47, 125, 184); /* oklch */ color: oklch(57.0% 0.118 245.1);
Tailwind
colors: {
custom: {
50: '#7aa2cd',
500: '#2f7db8',
950: '#000000',
},
}SCSS
$custom: #2f7db8; $custom-light: #7aa2cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7db8",
"rgb": {
"r": 47,
"g": 125,
"b": 184
},
"hsl": {
"h": 205.839,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.56986,
"c": 0.11823,
"h": 245.1
},
"luminance": 0.18732
}Semantic roles & 50–950 ramp
primary
#2F7DB8
secondary
#C89C7B
accent
#8945E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0F13
muted
#7C7E82