#2D7EB4#2D7EB4
#2D7EB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.113 H 242.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7EB4 |
|---|---|
| RGB | rgb(45, 126, 180) |
| HSL | hsl(204, 60%, 44%) |
| HSV | hsv(204, 75%, 71%) |
| CMYK | cmyk(75%, 30%, 0%, 29.4%) |
| CIE-LAB | lab(50.42, -5.81, -35.46) |
| CIE-LCH | lch(50.42, 35.93, 260.69°) |
| OKLab | oklab(56.95% -0.053 -0.1003) |
| OKLCH | oklch(56.95% 0.113 242.2) |
| XYZ | xyz(16.7781, 18.7729, 45.9104) |
| Luminance | 0.1878 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.37
Steel Blue
#4682B4
ΔE00 2.88
Cool Blue
#4984B8
ΔE00 3.72
Cerulean (survey)
#0485D1
ΔE00 3.95
Water Blue
#0E87CC
ΔE00 3.98
Bluish
#2976BB
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7EB4 #B4632D
analogous
#2DB4A7 #2D7EB4 #2D3BB4
triadic
#2D7EB4 #B42D7E #7EB42D
tetradic
#2D7EB4 #A72DB4 #B4632D #3BB42D
square
#2D7EB4 #A72DB4 #B4632D #3BB42D
split-complementary
#2D7EB4 #B42D3B #B4A72D
monochromatic
#153952 #215C83 #2D7EB4 #4C9DD2 #7DB7DE
Accessibility & contrast
On white
4.42
#2D7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#2D7EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D7EB4
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D7EB4 | 1.00 | 4.42 | 4.76 | 4.76 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2d7eb4; /* rgb */ color: rgb(45, 126, 180); /* oklch */ color: oklch(56.9% 0.113 242.2);
Tailwind
colors: {
custom: {
50: '#79a3ca',
500: '#2d7eb4',
950: '#000000',
},
}SCSS
$custom: #2d7eb4; $custom-light: #79a3ca; $custom-dark: #000000;
JSON
{
"hex": "#2d7eb4",
"rgb": {
"r": 45,
"g": 126,
"b": 180
},
"hsl": {
"h": 204,
"s": 60,
"l": 44.118
},
"oklch": {
"l": 0.56946,
"c": 0.11349,
"h": 242.2
},
"luminance": 0.18775
}Semantic roles & 50–950 ramp
primary
#2D7EB4
secondary
#C79676
accent
#8445E3
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82