#2A7FB8#2A7FB8
#2A7FB8 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.118 H 242.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FB8 |
|---|---|
| RGB | rgb(42, 127, 184) |
| HSL | hsl(204, 63%, 44%) |
| HSV | hsv(204, 77%, 72%) |
| CMYK | cmyk(77.2%, 31%, 0%, 27.8%) |
| CIE-LAB | lab(50.84, -5.32, -37.11) |
| CIE-LCH | lch(50.84, 37.49, 261.84°) |
| OKLab | oklab(57.32% -0.0542 -0.1052) |
| OKLCH | oklch(57.32% 0.118 242.7) |
| XYZ | xyz(17.1926, 19.1296, 48.1244) |
| Luminance | 0.1913 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.76
Nice Blue
#107AB0
ΔE00 2.77
Cerulean (survey)
#0485D1
ΔE00 3.34
Water Blue
#0E87CC
ΔE00 3.42
Cool Blue
#4984B8
ΔE00 3.50
Bluish
#2976BB
ΔE00 4.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FB8 #B8632A
analogous
#2AB8AA #2A7FB8 #2A38B8
triadic
#2A7FB8 #B82A7F #7FB82A
tetradic
#2A7FB8 #AA2AB8 #B8632A #38B82A
square
#2A7FB8 #AA2AB8 #B8632A #38B82A
split-complementary
#2A7FB8 #B82A38 #B8AA2A
monochromatic
#133A54 #1F5D86 #2A7FB8 #4A9DD6 #7BB8E1
Accessibility & contrast
On white
4.35
#2A7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2A7FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FB8
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FB8 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6480BA
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a7fb8; /* rgb */ color: rgb(42, 127, 184); /* oklch */ color: oklch(57.3% 0.118 242.7);
Tailwind
colors: {
custom: {
50: '#78a3cd',
500: '#2a7fb8',
950: '#000000',
},
}SCSS
$custom: #2a7fb8; $custom-light: #78a3cd; $custom-dark: #000000;
JSON
{
"hex": "#2a7fb8",
"rgb": {
"r": 42,
"g": 127,
"b": 184
},
"hsl": {
"h": 204.085,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.57319,
"c": 0.11833,
"h": 242.7
},
"luminance": 0.19132
}Semantic roles & 50–950 ramp
primary
#2A7FB8
secondary
#C99775
accent
#8442E6
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82