#2F7FBE#2F7FBE
#2F7FBE is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.8% C 0.124 H 246.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7FBE |
|---|---|
| RGB | rgb(47, 127, 190) |
| HSL | hsl(206, 60%, 46%) |
| HSV | hsv(206, 75%, 75%) |
| CMYK | cmyk(75.3%, 33.2%, 0%, 25.5%) |
| CIE-LAB | lab(51.27, -2.53, -39.87) |
| CIE-LCH | lch(51.27, 39.95, 266.37°) |
| OKLab | oklab(57.79% -0.0498 -0.1132) |
| OKLCH | oklch(57.79% 0.124 246.2) |
| XYZ | xyz(18.0524, 19.4987, 51.5174) |
| Luminance | 0.1950 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.32
Cool Blue
#4984B8
ΔE00 2.82
Cerulean (survey)
#0485D1
ΔE00 2.93
Bluish
#2976BB
ΔE00 3.46
Windows Blue
#3778BF
ΔE00 3.51
Water Blue
#0E87CC
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7FBE #BE6E2F
analogous
#2FBEB6 #2F7FBE #2F37BE
triadic
#2F7FBE #BE2F7F #7FBE2F
tetradic
#2F7FBE #B62FBE #BE6E2F #37BE2F
square
#2F7FBE #B62FBE #BE6E2F #37BE2F
split-complementary
#2F7FBE #BE2F37 #BEB62F
monochromatic
#173D5C #235E8D #2F7FBE #559DD5 #86B9E1
Accessibility & contrast
On white
4.29
#2F7FBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#2F7FBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7FBE
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7FBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7FBE | 1.00 | 4.29 | 4.90 | 4.90 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6281C1
Deuteranopia (green-blind)
#4E74BD
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #2f7fbe; /* rgb */ color: rgb(47, 127, 190); /* oklch */ color: oklch(57.8% 0.124 246.2);
Tailwind
colors: {
custom: {
50: '#7ba3d2',
500: '#2f7fbe',
950: '#000000',
},
}SCSS
$custom: #2f7fbe; $custom-light: #7ba3d2; $custom-dark: #000000;
JSON
{
"hex": "#2f7fbe",
"rgb": {
"r": 47,
"g": 127,
"b": 190
},
"hsl": {
"h": 206.434,
"s": 60.338,
"l": 46.471
},
"oklch": {
"l": 0.5779,
"c": 0.12367,
"h": 246.2
},
"luminance": 0.19501
}Semantic roles & 50–950 ramp
primary
#2F7FBE
secondary
#CBA07E
accent
#8A44E3
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82