#2A7CB7#2A7CB7
#2A7CB7 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.6% C 0.120 H 244.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7CB7 |
|---|---|
| RGB | rgb(42, 124, 183) |
| HSL | hsl(205, 63%, 44%) |
| HSV | hsv(205, 77%, 72%) |
| CMYK | cmyk(77%, 32.2%, 0%, 28.2%) |
| CIE-LAB | lab(49.89, -3.92, -38.03) |
| CIE-LCH | lch(49.89, 38.23, 264.12°) |
| OKLab | oklab(56.55% -0.0517 -0.1079) |
| OKLCH | oklch(56.55% 0.12 244.4) |
| XYZ | xyz(16.7064, 18.3245, 47.4470) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.67
Bluish
#2976BB
ΔE00 2.87
Steel Blue
#4682B4
ΔE00 3.18
Windows Blue
#3778BF
ΔE00 3.62
Cool Blue
#4984B8
ΔE00 3.96
Cerulean (survey)
#0485D1
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7CB7 #B7652A
analogous
#2AB7AC #2A7CB7 #2A36B7
triadic
#2A7CB7 #B72A7C #7CB72A
tetradic
#2A7CB7 #AC2AB7 #B7652A #36B72A
square
#2A7CB7 #AC2AB7 #B7652A #36B72A
split-complementary
#2A7CB7 #B72A36 #B7AC2A
monochromatic
#133953 #1F5A85 #2A7CB7 #499BD5 #7BB6E1
Accessibility & contrast
On white
4.50
#2A7CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#2A7CB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7CB7
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7CB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7CB7 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617EBA
Deuteranopia (green-blind)
#4D71B6
Tritanopia (blue-blind)
#008A91
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2a7cb7; /* rgb */ color: rgb(42, 124, 183); /* oklch */ color: oklch(56.6% 0.120 244.4);
Tailwind
colors: {
custom: {
50: '#78a1cd',
500: '#2a7cb7',
950: '#000000',
},
}SCSS
$custom: #2a7cb7; $custom-light: #78a1cd; $custom-dark: #000000;
JSON
{
"hex": "#2a7cb7",
"rgb": {
"r": 42,
"g": 124,
"b": 183
},
"hsl": {
"h": 205.106,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.56551,
"c": 0.11966,
"h": 244.4
},
"luminance": 0.18326
}Semantic roles & 50–950 ramp
primary
#2A7CB7
secondary
#C99774
accent
#8742E6
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E13
muted
#7C7E82