#2A7CB5#2A7CB5
#2A7CB5 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.4% C 0.117 H 243.5°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7CB5 |
|---|---|
| RGB | rgb(42, 124, 181) |
| HSL | hsl(205, 62%, 44%) |
| HSV | hsv(205, 77%, 71%) |
| CMYK | cmyk(76.8%, 31.5%, 0%, 29%) |
| CIE-LAB | lab(49.79, -4.65, -37.03) |
| CIE-LCH | lch(49.79, 37.32, 262.85°) |
| OKLab | oklab(56.44% -0.0523 -0.105) |
| OKLCH | oklch(56.44% 0.117 243.5) |
| XYZ | xyz(16.4997, 18.2418, 46.3585) |
| Luminance | 0.1824 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.31
Bluish
#2976BB
ΔE00 3.13
Steel Blue
#4682B4
ΔE00 3.26
Windows Blue
#3778BF
ΔE00 3.93
Cool Blue
#4984B8
ΔE00 4.09
Cerulean (survey)
#0485D1
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7CB5 #B5632A
analogous
#2AB5A8 #2A7CB5 #2A36B5
triadic
#2A7CB5 #B52A7C #7CB52A
tetradic
#2A7CB5 #A82AB5 #B5632A #36B52A
square
#2A7CB5 #A82AB5 #B5632A #36B52A
split-complementary
#2A7CB5 #B52A36 #B5A82A
monochromatic
#133852 #1E5A83 #2A7CB5 #489BD4 #79B6E0
Accessibility & contrast
On white
4.52
#2A7CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#2A7CB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7CB5
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7CB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7CB5 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#627EB7
Deuteranopia (green-blind)
#4E71B4
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2a7cb5; /* rgb */ color: rgb(42, 124, 181); /* oklch */ color: oklch(56.4% 0.117 243.5);
Tailwind
colors: {
custom: {
50: '#78a1cb',
500: '#2a7cb5',
950: '#000000',
},
}SCSS
$custom: #2a7cb5; $custom-light: #78a1cb; $custom-dark: #000000;
JSON
{
"hex": "#2a7cb5",
"rgb": {
"r": 42,
"g": 124,
"b": 181
},
"hsl": {
"h": 204.604,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.5644,
"c": 0.11732,
"h": 243.5
},
"luminance": 0.18244
}Semantic roles & 50–950 ramp
primary
#2A7CB5
secondary
#C89673
accent
#8542E5
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82