#2F7DB2#2F7DB2
#2F7DB2 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.111 H 242.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7DB2 |
|---|---|
| RGB | rgb(47, 125, 178) |
| HSL | hsl(204, 58%, 44%) |
| HSV | hsv(204, 74%, 70%) |
| CMYK | cmyk(73.6%, 29.8%, 0%, 30.2%) |
| CIE-LAB | lab(50.08, -5.68, -34.83) |
| CIE-LCH | lch(50.08, 35.29, 260.74°) |
| OKLab | oklab(56.66% -0.0516 -0.0985) |
| OKLCH | oklch(56.66% 0.111 242.4) |
| XYZ | xyz(16.5387, 18.4840, 44.8070) |
| Luminance | 0.1849 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.25
Steel Blue
#4682B4
ΔE00 2.97
Bluish
#2976BB
ΔE00 3.70
Cool Blue
#4984B8
ΔE00 3.86
Cerulean (survey)
#0485D1
ΔE00 4.31
Windows Blue
#3778BF
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7DB2 #B2642F
analogous
#2FB2A6 #2F7DB2 #2F3CB2
triadic
#2F7DB2 #B22F7D #7DB22F
tetradic
#2F7DB2 #A62FB2 #B2642F #3CB22F
square
#2F7DB2 #A62FB2 #B2642F #3CB22F
split-complementary
#2F7DB2 #B22F3C #B2A62F
monochromatic
#153951 #225B82 #2F7DB2 #4E9CD0 #7EB7DD
Accessibility & contrast
On white
4.47
#2F7DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#2F7DB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F7DB2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7DB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F7DB2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f7db2; /* rgb */ color: rgb(47, 125, 178); /* oklch */ color: oklch(56.7% 0.111 242.4);
Tailwind
colors: {
custom: {
50: '#79a2c9',
500: '#2f7db2',
950: '#000000',
},
}SCSS
$custom: #2f7db2; $custom-light: #79a2c9; $custom-dark: #000000;
JSON
{
"hex": "#2f7db2",
"rgb": {
"r": 47,
"g": 125,
"b": 178
},
"hsl": {
"h": 204.275,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.5666,
"c": 0.11121,
"h": 242.4
},
"luminance": 0.18486
}Semantic roles & 50–950 ramp
primary
#2F7DB2
secondary
#C69777
accent
#8546E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82