#2A7BB1#2A7BB1
#2A7BB1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.114 H 242.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7BB1 |
|---|---|
| RGB | rgb(42, 123, 177) |
| HSL | hsl(204, 62%, 43%) |
| HSV | hsv(204, 76%, 69%) |
| CMYK | cmyk(76.3%, 30.5%, 0%, 30.6%) |
| CIE-LAB | lab(49.29, -5.51, -35.50) |
| CIE-LCH | lch(49.29, 35.93, 261.17°) |
| OKLab | oklab(55.98% -0.0526 -0.1005) |
| OKLCH | oklch(55.98% 0.114 242.4) |
| XYZ | xyz(15.9705, 17.8306, 44.1864) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.75
Bluish
#2976BB
ΔE00 3.33
Steel Blue
#4682B4
ΔE00 3.68
Flat Blue
#3C73A8
ΔE00 4.20
Windows Blue
#3778BF
ΔE00 4.29
Muted Blue
#3B719F
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7BB1 #B1602A
analogous
#2AB1A3 #2A7BB1 #2A37B1
triadic
#2A7BB1 #B12A7B #7BB12A
tetradic
#2A7BB1 #A32AB1 #B1602A #37B12A
square
#2A7BB1 #A32AB1 #B1602A #37B12A
split-complementary
#2A7BB1 #B12A37 #B1A32A
monochromatic
#13364E #1E5980 #2A7BB1 #459AD3 #77B5DF
Accessibility & contrast
On white
4.60
#2A7BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#2A7BB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2A7BB1
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A7BB1 | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627CB3
Deuteranopia (green-blind)
#4F70B0
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2a7bb1; /* rgb */ color: rgb(42, 123, 177); /* oklch */ color: oklch(56.0% 0.114 242.4);
Tailwind
colors: {
custom: {
50: '#77a1c8',
500: '#2a7bb1',
950: '#000000',
},
}SCSS
$custom: #2a7bb1; $custom-light: #77a1c8; $custom-dark: #000000;
JSON
{
"hex": "#2a7bb1",
"rgb": {
"r": 42,
"g": 123,
"b": 177
},
"hsl": {
"h": 204,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.55982,
"c": 0.1135,
"h": 242.4
},
"luminance": 0.17832
}Semantic roles & 50–950 ramp
primary
#2A7BB1
secondary
#C69370
accent
#8443E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82