#2A7BB7#2A7BB7
#2A7BB7 is a mid, vivid cyan. Relative luminance 0.181; OKLCH L 56.3% C 0.121 H 245.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BB7 |
|---|---|
| RGB | rgb(42, 123, 183) |
| HSL | hsl(206, 63%, 44%) |
| HSV | hsv(206, 77%, 72%) |
| CMYK | cmyk(77%, 32.8%, 0%, 28.2%) |
| CIE-LAB | lab(49.59, -3.32, -38.50) |
| CIE-LCH | lch(49.59, 38.65, 265.07°) |
| OKLab | oklab(56.31% -0.0508 -0.1093) |
| OKLCH | oklch(56.31% 0.121 245.1) |
| XYZ | xyz(16.5817, 18.0751, 47.4055) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.44
Nice Blue
#107AB0
ΔE00 2.82
Windows Blue
#3778BF
ΔE00 3.28
Steel Blue
#4682B4
ΔE00 3.39
Flat Blue
#3C73A8
ΔE00 3.91
Cool Blue
#4984B8
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BB7 #B7662A
analogous
#2AB7AD #2A7BB7 #2A34B7
triadic
#2A7BB7 #B72A7B #7BB72A
tetradic
#2A7BB7 #AD2AB7 #B7662A #34B72A
square
#2A7BB7 #AD2AB7 #B7662A #34B72A
split-complementary
#2A7BB7 #B72A34 #B7AD2A
monochromatic
#133853 #1F5A85 #2A7BB7 #499AD5 #7BB5E1
Accessibility & contrast
On white
4.55
#2A7BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#2A7BB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7BB7
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7BB7 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F7DBA
Deuteranopia (green-blind)
#4B70B6
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7bb7; /* rgb */ color: rgb(42, 123, 183); /* oklch */ color: oklch(56.3% 0.121 245.1);
Tailwind
colors: {
custom: {
50: '#78a0cd',
500: '#2a7bb7',
950: '#000000',
},
}SCSS
$custom: #2a7bb7; $custom-light: #78a0cd; $custom-dark: #000000;
JSON
{
"hex": "#2a7bb7",
"rgb": {
"r": 42,
"g": 123,
"b": 183
},
"hsl": {
"h": 205.532,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.56314,
"c": 0.12053,
"h": 245.1
},
"luminance": 0.18077
}Semantic roles & 50–950 ramp
primary
#2A7BB7
secondary
#C99874
accent
#8842E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82