#2A7FB3#2A7FB3
#2A7FB3 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.113 H 240.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FB3 |
|---|---|
| RGB | rgb(42, 127, 179) |
| HSL | hsl(203, 62%, 43%) |
| HSV | hsv(203, 77%, 70%) |
| CMYK | cmyk(76.5%, 29.1%, 0%, 29.8%) |
| CIE-LAB | lab(50.60, -7.14, -34.61) |
| CIE-LCH | lch(50.60, 35.33, 258.34°) |
| OKLab | oklab(57.05% -0.0558 -0.0979) |
| OKLCH | oklch(57.05% 0.113 240.3) |
| XYZ | xyz(16.6777, 18.9237, 45.4127) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.25
Steel Blue
#4682B4
ΔE00 3.23
Water Blue
#0E87CC
ΔE00 3.91
Cool Blue
#4984B8
ΔE00 4.05
Cerulean
#007BA7
ΔE00 4.15
Cerulean (survey)
#0485D1
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FB3 #B35E2A
analogous
#2AB3A2 #2A7FB3 #2A3AB3
triadic
#2A7FB3 #B32A7F #7FB32A
tetradic
#2A7FB3 #A22AB3 #B35E2A #3AB32A
square
#2A7FB3 #A22AB3 #B35E2A #3AB32A
split-complementary
#2A7FB3 #B32A3A #B3A22A
monochromatic
#133950 #1E5C81 #2A7FB3 #469ED4 #78B8DF
Accessibility & contrast
On white
4.39
#2A7FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#2A7FB3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FB3
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FB3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FB3 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #2a7fb3; /* rgb */ color: rgb(42, 127, 179); /* oklch */ color: oklch(57.0% 0.113 240.3);
Tailwind
colors: {
custom: {
50: '#77a4ca',
500: '#2a7fb3',
950: '#000000',
},
}SCSS
$custom: #2a7fb3; $custom-light: #77a4ca; $custom-dark: #000000;
JSON
{
"hex": "#2a7fb3",
"rgb": {
"r": 42,
"g": 127,
"b": 179
},
"hsl": {
"h": 202.774,
"s": 61.991,
"l": 43.333
},
"oklch": {
"l": 0.57049,
"c": 0.11269,
"h": 240.3
},
"luminance": 0.18926
}Semantic roles & 50–950 ramp
primary
#2A7FB3
secondary
#C79272
accent
#8043E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82