#2A6FAB#2A6FAB
#2A6FAB is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.117 H 248.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6FAB |
|---|---|
| RGB | rgb(42, 111, 171) |
| HSL | hsl(208, 61%, 42%) |
| HSV | hsv(208, 75%, 67%) |
| CMYK | cmyk(75.4%, 35.1%, 0%, 32.9%) |
| CIE-LAB | lab(45.36, -0.50, -38.21) |
| CIE-LCH | lch(45.36, 38.21, 269.25°) |
| OKLab | oklab(52.78% -0.043 -0.1086) |
| OKLCH | oklch(52.78% 0.117 248.4) |
| XYZ | xyz(13.9872, 14.7998, 40.6397) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 2.07
Muted Blue
#3B719F
ΔE00 2.08
Medium Blue
#2C6FBB
ΔE00 2.47
Mid Blue
#276AB3
ΔE00 2.50
Bluish
#2976BB
ΔE00 3.00
Dull Blue
#49759C
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6FAB #AB662A
analogous
#2AABA7 #2A6FAB #2A2FAB
triadic
#2A6FAB #AB2A6F #6FAB2A
tetradic
#2A6FAB #A72AAB #AB662A #2FAB2A
square
#2A6FAB #A72AAB #AB662A #2FAB2A
split-complementary
#2A6FAB #AB2A2F #ABA72A
monochromatic
#122F49 #1E4F7A #2A6FAB #428ED1 #73ABDD
Accessibility & contrast
On white
5.30
#2A6FAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#2A6FAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6FAB
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6FAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6FAB | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5372AE
Deuteranopia (green-blind)
#4166AA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2a6fab; /* rgb */ color: rgb(42, 111, 171); /* oklch */ color: oklch(52.8% 0.117 248.4);
Tailwind
colors: {
custom: {
50: '#7698c4',
500: '#2a6fab',
950: '#000000',
},
}SCSS
$custom: #2a6fab; $custom-light: #7698c4; $custom-dark: #000000;
JSON
{
"hex": "#2a6fab",
"rgb": {
"r": 42,
"g": 111,
"b": 171
},
"hsl": {
"h": 207.907,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.52782,
"c": 0.11681,
"h": 248.4
},
"luminance": 0.14801
}Semantic roles & 50–950 ramp
primary
#2A6FAB
secondary
#C4956D
accent
#8E44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81