#2A6FAC#2A6FAC
#2A6FAC is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.118 H 248.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A6FAC |
|---|---|
| RGB | rgb(42, 111, 172) |
| HSL | hsl(208, 61%, 42%) |
| HSV | hsv(208, 76%, 67%) |
| CMYK | cmyk(75.6%, 35.5%, 0%, 32.5%) |
| CIE-LAB | lab(45.41, -0.13, -38.71) |
| CIE-LCH | lch(45.41, 38.71, 269.81°) |
| OKLab | oklab(52.84% -0.0427 -0.1101) |
| OKLCH | oklch(52.84% 0.118 248.8) |
| XYZ | xyz(14.0829, 14.8381, 41.1435) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Flat Blue
#3C73A8
ΔE00 2.05
Muted Blue
#3B719F
ΔE00 2.16
Medium Blue
#2C6FBB
ΔE00 2.31
Mid Blue
#276AB3
ΔE00 2.39
Bluish
#2976BB
ΔE00 2.94
Windows Blue
#3778BF
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A6FAC #AC672A
analogous
#2AACA8 #2A6FAC #2A2EAC
triadic
#2A6FAC #AC2A6F #6FAC2A
tetradic
#2A6FAC #A82AAC #AC672A #2EAC2A
square
#2A6FAC #A82AAC #AC672A #2EAC2A
split-complementary
#2A6FAC #AC2A2E #ACA82A
monochromatic
#12304A #1E4F7B #2A6FAC #428ED1 #73ABDD
Accessibility & contrast
On white
5.29
#2A6FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#2A6FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2A6FAC
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A6FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A6FAC | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5372AF
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#007E85
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2a6fac; /* rgb */ color: rgb(42, 111, 172); /* oklch */ color: oklch(52.8% 0.118 248.8);
Tailwind
colors: {
custom: {
50: '#7698c5',
500: '#2a6fac',
950: '#000000',
},
}SCSS
$custom: #2a6fac; $custom-light: #7698c5; $custom-dark: #000000;
JSON
{
"hex": "#2a6fac",
"rgb": {
"r": 42,
"g": 111,
"b": 172
},
"hsl": {
"h": 208.154,
"s": 60.748,
"l": 41.961
},
"oklch": {
"l": 0.52841,
"c": 0.11807,
"h": 248.8
},
"luminance": 0.1484
}Semantic roles & 50–950 ramp
primary
#2A6FAC
secondary
#C4966D
accent
#8F44E4
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82