#2F7EB7#2F7EB7
#2F7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.2% C 0.116 H 244.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7EB7 |
|---|---|
| RGB | rgb(47, 126, 183) |
| HSL | hsl(205, 59%, 45%) |
| HSV | hsv(205, 74%, 72%) |
| CMYK | cmyk(74.3%, 31.1%, 0%, 28.2%) |
| CIE-LAB | lab(50.62, -4.47, -36.87) |
| CIE-LCH | lch(50.62, 37.14, 263.09°) |
| OKLab | oklab(57.17% -0.051 -0.1044) |
| OKLCH | oklch(57.17% 0.116 244) |
| XYZ | xyz(17.1771, 18.9430, 47.5416) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.53
Nice Blue
#107AB0
ΔE00 2.97
Cool Blue
#4984B8
ΔE00 3.30
Bluish
#2976BB
ΔE00 3.50
Cerulean (survey)
#0485D1
ΔE00 3.58
Water Blue
#0E87CC
ΔE00 3.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7EB7 #B7682F
analogous
#2FB7AC #2F7EB7 #2F3AB7
triadic
#2F7EB7 #B72F7E #7EB72F
tetradic
#2F7EB7 #AC2FB7 #B7682F #3AB72F
square
#2F7EB7 #AC2FB7 #B7682F #3AB72F
split-complementary
#2F7EB7 #B72F3A #B7AC2F
monochromatic
#163B56 #225C86 #2F7EB7 #519CD2 #82B8DF
Accessibility & contrast
On white
4.39
#2F7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#2F7EB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7EB7
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7EB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7EB7 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6480B9
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2f7eb7; /* rgb */ color: rgb(47, 126, 183); /* oklch */ color: oklch(57.2% 0.116 244.0);
Tailwind
colors: {
custom: {
50: '#7aa3cd',
500: '#2f7eb7',
950: '#000000',
},
}SCSS
$custom: #2f7eb7; $custom-light: #7aa3cd; $custom-dark: #000000;
JSON
{
"hex": "#2f7eb7",
"rgb": {
"r": 47,
"g": 126,
"b": 183
},
"hsl": {
"h": 205.147,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.57168,
"c": 0.11622,
"h": 244
},
"luminance": 0.18945
}Semantic roles & 50–950 ramp
primary
#2F7EB7
secondary
#C89B7A
accent
#8745E2
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82