#2A7BB4#2A7BB4
#2A7BB4 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.117 H 243.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BB4 |
|---|---|
| RGB | rgb(42, 123, 180) |
| HSL | hsl(205, 62%, 44%) |
| HSV | hsv(205, 77%, 71%) |
| CMYK | cmyk(76.7%, 31.7%, 0%, 29.4%) |
| CIE-LAB | lab(49.44, -4.42, -37.01) |
| CIE-LCH | lch(49.44, 37.27, 263.19°) |
| OKLab | oklab(56.15% -0.0517 -0.1049) |
| OKLCH | oklch(56.15% 0.117 243.8) |
| XYZ | xyz(16.2728, 17.9515, 45.7785) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.27
Bluish
#2976BB
ΔE00 2.83
Steel Blue
#4682B4
ΔE00 3.50
Windows Blue
#3778BF
ΔE00 3.76
Flat Blue
#3C73A8
ΔE00 4.01
Cool Blue
#4984B8
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BB4 #B4632A
analogous
#2AB4A8 #2A7BB4 #2A36B4
triadic
#2A7BB4 #B42A7B #7BB42A
tetradic
#2A7BB4 #A82AB4 #B4632A #36B42A
square
#2A7BB4 #A82AB4 #B4632A #36B42A
split-complementary
#2A7BB4 #B42A36 #B4A82A
monochromatic
#133751 #1E5982 #2A7BB4 #479AD4 #79B5E0
Accessibility & contrast
On white
4.57
#2A7BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#2A7BB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7BB4
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7BB4 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617DB6
Deuteranopia (green-blind)
#4D70B3
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7bb4; /* rgb */ color: rgb(42, 123, 180); /* oklch */ color: oklch(56.1% 0.117 243.8);
Tailwind
colors: {
custom: {
50: '#78a0ca',
500: '#2a7bb4',
950: '#000000',
},
}SCSS
$custom: #2a7bb4; $custom-light: #78a0ca; $custom-dark: #000000;
JSON
{
"hex": "#2a7bb4",
"rgb": {
"r": 42,
"g": 123,
"b": 180
},
"hsl": {
"h": 204.783,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.56147,
"c": 0.11698,
"h": 243.8
},
"luminance": 0.17953
}Semantic roles & 50–950 ramp
primary
#2A7BB4
secondary
#C89572
accent
#8643E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82