#2A7EB5#2A7EB5
#2A7EB5 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.116 H 242.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7EB5 |
|---|---|
| RGB | rgb(42, 126, 181) |
| HSL | hsl(204, 62%, 44%) |
| HSV | hsv(204, 77%, 71%) |
| CMYK | cmyk(76.8%, 30.4%, 0%, 29%) |
| CIE-LAB | lab(50.39, -5.83, -36.08) |
| CIE-LCH | lch(50.39, 36.55, 260.82°) |
| OKLab | oklab(56.92% -0.0542 -0.1022) |
| OKLCH | oklch(56.92% 0.116 242) |
| XYZ | xyz(16.7529, 18.7482, 46.4429) |
| Luminance | 0.1875 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.28
Steel Blue
#4682B4
ΔE00 3.03
Cool Blue
#4984B8
ΔE00 3.85
Cerulean (survey)
#0485D1
ΔE00 3.87
Water Blue
#0E87CC
ΔE00 3.90
Bluish
#2976BB
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7EB5 #B5612A
analogous
#2AB5A6 #2A7EB5 #2A38B5
triadic
#2A7EB5 #B52A7E #7EB52A
tetradic
#2A7EB5 #A62AB5 #B5612A #38B52A
square
#2A7EB5 #A62AB5 #B5612A #38B52A
split-complementary
#2A7EB5 #B52A38 #B5A62A
monochromatic
#133952 #1E5B83 #2A7EB5 #489DD4 #79B7E0
Accessibility & contrast
On white
4.42
#2A7EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#2A7EB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7EB5
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7EB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7EB5 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#647FB7
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a7eb5; /* rgb */ color: rgb(42, 126, 181); /* oklch */ color: oklch(56.9% 0.116 242.0);
Tailwind
colors: {
custom: {
50: '#78a3cb',
500: '#2a7eb5',
950: '#000000',
},
}SCSS
$custom: #2a7eb5; $custom-light: #78a3cb; $custom-dark: #000000;
JSON
{
"hex": "#2a7eb5",
"rgb": {
"r": 42,
"g": 126,
"b": 181
},
"hsl": {
"h": 203.741,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.56917,
"c": 0.1157,
"h": 242
},
"luminance": 0.1875
}Semantic roles & 50–950 ramp
primary
#2A7EB5
secondary
#C89573
accent
#8342E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82