#2D7DAB#2D7DAB
#2D7DAB is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.2% C 0.104 H 238.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2D7DAB |
|---|---|
| RGB | rgb(45, 125, 171) |
| HSL | hsl(202, 58%, 42%) |
| HSV | hsv(202, 74%, 67%) |
| CMYK | cmyk(73.7%, 26.9%, 0%, 32.9%) |
| CIE-LAB | lab(49.69, -8.45, -31.39) |
| CIE-LCH | lch(49.69, 32.51, 254.93°) |
| OKLab | oklab(56.23% -0.055 -0.0885) |
| OKLCH | oklch(56.23% 0.104 238.2) |
| XYZ | xyz(15.7636, 18.1636, 41.1953) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.95
Cerulean
#007BA7
ΔE00 2.93
Steel Blue
#4682B4
ΔE00 4.09
Stormy Blue
#507B9C
ΔE00 4.49
Cool Blue
#4984B8
ΔE00 5.00
Dull Blue
#49759C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D7DAB #AB5B2D
analogous
#2DAB9A #2D7DAB #2D3EAB
triadic
#2D7DAB #AB2D7D #7DAB2D
tetradic
#2D7DAB #9A2DAB #AB5B2D #3EAB2D
square
#2D7DAB #9A2DAB #AB5B2D #3EAB2D
split-complementary
#2D7DAB #AB2D3E #AB9A2D
monochromatic
#14364A #205A7B #2D7DAB #479DCE #77B7DB
Accessibility & contrast
On white
4.53
#2D7DAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#2D7DAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2D7DAB
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D7DAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2D7DAB | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#677DAD
Deuteranopia (green-blind)
#5671AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2d7dab; /* rgb */ color: rgb(45, 125, 171); /* oklch */ color: oklch(56.2% 0.104 238.2);
Tailwind
colors: {
custom: {
50: '#77a2c4',
500: '#2d7dab',
950: '#000000',
},
}SCSS
$custom: #2d7dab; $custom-light: #77a2c4; $custom-dark: #000000;
JSON
{
"hex": "#2d7dab",
"rgb": {
"r": 45,
"g": 125,
"b": 171
},
"hsl": {
"h": 201.905,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.56231,
"c": 0.10423,
"h": 238.2
},
"luminance": 0.18165
}Semantic roles & 50–950 ramp
primary
#2D7DAB
secondary
#C38F71
accent
#7F46E2
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81