#2A7EB8#2A7EB8
#2A7EB8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.119 H 243.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7EB8 |
|---|---|
| RGB | rgb(42, 126, 184) |
| HSL | hsl(205, 63%, 44%) |
| HSV | hsv(205, 77%, 72%) |
| CMYK | cmyk(77.2%, 31.5%, 0%, 27.8%) |
| CIE-LAB | lab(50.54, -4.73, -37.58) |
| CIE-LCH | lch(50.54, 37.88, 262.82°) |
| OKLab | oklab(57.08% -0.0533 -0.1066) |
| OKLCH | oklch(57.08% 0.119 243.4) |
| XYZ | xyz(17.0641, 18.8726, 48.0815) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.73
Steel Blue
#4682B4
ΔE00 2.83
Cerulean (survey)
#0485D1
ΔE00 3.50
Cool Blue
#4984B8
ΔE00 3.59
Bluish
#2976BB
ΔE00 3.65
Water Blue
#0E87CC
ΔE00 3.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7EB8 #B8642A
analogous
#2AB8AB #2A7EB8 #2A37B8
triadic
#2A7EB8 #B82A7E #7EB82A
tetradic
#2A7EB8 #AB2AB8 #B8642A #37B82A
square
#2A7EB8 #AB2AB8 #B8642A #37B82A
split-complementary
#2A7EB8 #B82A37 #B8AB2A
monochromatic
#133A54 #1F5C86 #2A7EB8 #4A9CD6 #7BB7E1
Accessibility & contrast
On white
4.40
#2A7EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#2A7EB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7EB8
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7EB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7EB8 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a7eb8; /* rgb */ color: rgb(42, 126, 184); /* oklch */ color: oklch(57.1% 0.119 243.4);
Tailwind
colors: {
custom: {
50: '#78a3cd',
500: '#2a7eb8',
950: '#000000',
},
}SCSS
$custom: #2a7eb8; $custom-light: #78a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2a7eb8",
"rgb": {
"r": 42,
"g": 126,
"b": 184
},
"hsl": {
"h": 204.507,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.57081,
"c": 0.11915,
"h": 243.4
},
"luminance": 0.18875
}Semantic roles & 50–950 ramp
primary
#2A7EB8
secondary
#C99775
accent
#8542E6
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82