#2A8FB1#2A8FB1
#2A8FB1 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.103 H 225.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A8FB1 |
|---|---|
| RGB | rgb(42, 143, 177) |
| HSL | hsl(195, 62%, 43%) |
| HSV | hsv(195, 76%, 69%) |
| CMYK | cmyk(76.3%, 19.2%, 0%, 30.6%) |
| CIE-LAB | lab(55.39, -16.86, -26.00) |
| CIE-LCH | lch(55.39, 30.99, 237.04°) |
| OKLab | oklab(60.84% -0.0721 -0.0729) |
| OKLCH | oklch(60.84% 0.103 225.3) |
| XYZ | xyz(18.7098, 23.3092, 45.0995) |
| Luminance | 0.2331 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.01
Teal Blue
#01889F
ΔE00 5.52
Cerulean
#007BA7
ΔE00 8.07
Dusty Blue
#5A86AD
ΔE00 8.78
Ocean
#017B92
ΔE00 8.83
Steel Blue
#4682B4
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A8FB1 #B14C2A
analogous
#2AB18F #2A8FB1 #2A4BB1
triadic
#2A8FB1 #B12A8F #8FB12A
tetradic
#2A8FB1 #8F2AB1 #B14C2A #4BB12A
square
#2A8FB1 #8F2AB1 #B14C2A #4BB12A
split-complementary
#2A8FB1 #B12A4B #B18F2A
monochromatic
#133F4E #1E6780 #2A8FB1 #45AFD3 #77C4DF
Accessibility & contrast
On white
3.71
#2A8FB1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#2A8FB1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2A8FB1
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A8FB1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2A8FB1 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C8CB3
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #2a8fb1; /* rgb */ color: rgb(42, 143, 177); /* oklch */ color: oklch(60.8% 0.103 225.3);
Tailwind
colors: {
custom: {
50: '#78b0c8',
500: '#2a8fb1',
950: '#000000',
},
}SCSS
$custom: #2a8fb1; $custom-light: #78b0c8; $custom-dark: #000000;
JSON
{
"hex": "#2a8fb1",
"rgb": {
"r": 42,
"g": 143,
"b": 177
},
"hsl": {
"h": 195.111,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.6084,
"c": 0.10255,
"h": 225.3
},
"luminance": 0.23311
}Semantic roles & 50–950 ramp
primary
#2A8FB1
secondary
#C68670
accent
#6C43E5
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82