#2D7EB7#2D7EB7
#2D7EB7 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.117 H 243.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7EB7 |
|---|---|
| RGB | rgb(45, 126, 183) |
| HSL | hsl(205, 61%, 45%) |
| HSV | hsv(205, 75%, 72%) |
| CMYK | cmyk(75.4%, 31.1%, 0%, 28.2%) |
| CIE-LAB | lab(50.57, -4.73, -36.96) |
| CIE-LCH | lch(50.57, 37.26, 262.71°) |
| OKLab | oklab(57.11% -0.0521 -0.1047) |
| OKLCH | oklch(57.11% 0.117 243.6) |
| XYZ | xyz(17.0870, 18.8965, 47.5374) |
| Luminance | 0.1890 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.67
Nice Blue
#107AB0
ΔE00 2.80
Cool Blue
#4984B8
ΔE00 3.45
Cerulean (survey)
#0485D1
ΔE00 3.58
Bluish
#2976BB
ΔE00 3.61
Water Blue
#0E87CC
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7EB7 #B7662D
analogous
#2DB7AB #2D7EB7 #2D39B7
triadic
#2D7EB7 #B72D7E #7EB72D
tetradic
#2D7EB7 #AB2DB7 #B7662D #39B72D
square
#2D7EB7 #AB2DB7 #B7662D #39B72D
split-complementary
#2D7EB7 #B72D39 #B7AB2D
monochromatic
#153A55 #215C86 #2D7EB7 #4E9CD3 #7FB8DF
Accessibility & contrast
On white
4.39
#2D7EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#2D7EB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D7EB7
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7EB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D7EB7 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647FB9
Deuteranopia (green-blind)
#5173B6
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2d7eb7; /* rgb */ color: rgb(45, 126, 183); /* oklch */ color: oklch(57.1% 0.117 243.6);
Tailwind
colors: {
custom: {
50: '#79a3cd',
500: '#2d7eb7',
950: '#000000',
},
}SCSS
$custom: #2d7eb7; $custom-light: #79a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2d7eb7",
"rgb": {
"r": 45,
"g": 126,
"b": 183
},
"hsl": {
"h": 204.783,
"s": 60.526,
"l": 44.706
},
"oklch": {
"l": 0.57109,
"c": 0.11695,
"h": 243.6
},
"luminance": 0.18898
}Semantic roles & 50–950 ramp
primary
#2D7EB7
secondary
#C89978
accent
#8644E4
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82