#2A7FB9#2A7FB9
#2A7FB9 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.119 H 243.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A7FB9 |
|---|---|
| RGB | rgb(42, 127, 185) |
| HSL | hsl(204, 63%, 45%) |
| HSV | hsv(204, 77%, 73%) |
| CMYK | cmyk(77.3%, 31.4%, 0%, 27.5%) |
| CIE-LAB | lab(50.89, -4.96, -37.61) |
| CIE-LCH | lch(50.89, 37.93, 262.49°) |
| OKLab | oklab(57.37% -0.0539 -0.1066) |
| OKLCH | oklch(57.37% 0.119 243.2) |
| XYZ | xyz(17.2978, 19.1717, 48.6784) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.71
Nice Blue
#107AB0
ΔE00 2.92
Cerulean (survey)
#0485D1
ΔE00 3.22
Water Blue
#0E87CC
ΔE00 3.37
Cool Blue
#4984B8
ΔE00 3.41
Bluish
#2976BB
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A7FB9 #B9642A
analogous
#2AB9AC #2A7FB9 #2A37B9
triadic
#2A7FB9 #B92A7F #7FB92A
tetradic
#2A7FB9 #AC2AB9 #B9642A #37B92A
square
#2A7FB9 #AC2AB9 #B9642A #37B92A
split-complementary
#2A7FB9 #B92A37 #B9AC2A
monochromatic
#133B55 #1F5D87 #2A7FB9 #4A9DD6 #7CB8E1
Accessibility & contrast
On white
4.34
#2A7FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#2A7FB9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A7FB9
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A7FB9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A7FB9 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 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)
#6480BC
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #2a7fb9; /* rgb */ color: rgb(42, 127, 185); /* oklch */ color: oklch(57.4% 0.119 243.2);
Tailwind
colors: {
custom: {
50: '#79a3ce',
500: '#2a7fb9',
950: '#000000',
},
}SCSS
$custom: #2a7fb9; $custom-light: #79a3ce; $custom-dark: #000000;
JSON
{
"hex": "#2a7fb9",
"rgb": {
"r": 42,
"g": 127,
"b": 185
},
"hsl": {
"h": 204.336,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.57374,
"c": 0.11949,
"h": 243.2
},
"luminance": 0.19174
}Semantic roles & 50–950 ramp
primary
#2A7FB9
secondary
#CA9775
accent
#8442E6
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82