#2A6FBA#2A6FBA
#2A6FBA is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.136 H 253.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6FBA |
|---|---|
| RGB | rgb(42, 111, 186) |
| HSL | hsl(211, 63%, 45%) |
| HSV | hsv(211, 77%, 73%) |
| CMYK | cmyk(77.4%, 40.3%, 0%, 27.1%) |
| CIE-LAB | lab(46.18, 5.13, -45.64) |
| CIE-LCH | lch(46.18, 45.92, 276.42°) |
| OKLab | oklab(53.7% -0.0391 -0.1304) |
| OKLCH | oklch(53.7% 0.136 253.3) |
| XYZ | xyz(15.4989, 15.4045, 48.6014) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 0.32
Mid Blue
#276AB3
ΔE00 1.92
Flat Blue
#3C73A8
ΔE00 2.53
Bluish
#2976BB
ΔE00 2.85
Windows Blue
#3778BF
ΔE00 3.35
Muted Blue
#3B719F
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6FBA #BA752A
analogous
#2AB7BA #2A6FBA #2D2ABA
triadic
#2A6FBA #BA2A6F #6FBA2A
tetradic
#2A6FBA #BA2AB7 #BA752A #2ABA2D
square
#2A6FBA #BA2AB7 #BA752A #2ABA2D
split-complementary
#2A6FBA #BA2D2A #B7BA2A
monochromatic
#133356 #1F5188 #2A6FBA #4B8ED6 #7DADE2
Accessibility & contrast
On white
5.15
#2A6FBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2A6FBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6FBA
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6FBA | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#3367B9
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2a6fba; /* rgb */ color: rgb(42, 111, 186); /* oklch */ color: oklch(53.7% 0.136 253.3);
Tailwind
colors: {
custom: {
50: '#7997cf',
500: '#2a6fba',
950: '#000000',
},
}SCSS
$custom: #2a6fba; $custom-light: #7997cf; $custom-dark: #000000;
JSON
{
"hex": "#2a6fba",
"rgb": {
"r": 42,
"g": 111,
"b": 186
},
"hsl": {
"h": 211.25,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.53696,
"c": 0.13612,
"h": 253.3
},
"luminance": 0.15406
}Semantic roles & 50–950 ramp
primary
#2A6FBA
secondary
#CAA276
accent
#9742E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82