#2F66BA#2F66BA
#2F66BA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 51.8% C 0.145 H 258.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F66BA |
|---|---|
| RGB | rgb(47, 102, 186) |
| HSL | hsl(216, 60%, 46%) |
| HSV | hsv(216, 75%, 73%) |
| CMYK | cmyk(74.7%, 45.2%, 0%, 27.1%) |
| CIE-LAB | lab(43.73, 11.45, -49.55) |
| CIE-LCH | lch(43.73, 50.86, 283.01°) |
| OKLab | oklab(51.84% -0.0281 -0.142) |
| OKLCH | oklch(51.84% 0.145 258.8) |
| XYZ | xyz(14.7834, 13.6506, 48.3006) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.29
Mid Blue
#276AB3
ΔE00 2.63
French Blue
#436BAD
ΔE00 2.66
Medium Blue
#2C6FBB
ΔE00 3.62
Flat Blue
#3C73A8
ΔE00 5.30
Denim (survey)
#3B638C
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F66BA #BA832F
analogous
#2FABBA #2F66BA #3D2FBA
triadic
#2F66BA #BA2F66 #66BA2F
tetradic
#2F66BA #BA2FAB #BA832F #2FBA3D
square
#2F66BA #BA2FAB #BA832F #2FBA3D
split-complementary
#2F66BA #BA3D2F #ABBA2F
monochromatic
#163058 #234B89 #2F66BA #5386D3 #84A8E0
Accessibility & contrast
On white
5.63
#2F66BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2F66BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F66BA
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F66BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F66BA | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B6EBD
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#007A87
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f66ba; /* rgb */ color: rgb(47, 102, 186); /* oklch */ color: oklch(51.8% 0.145 258.8);
Tailwind
colors: {
custom: {
50: '#7a91cf',
500: '#2f66ba',
950: '#000000',
},
}SCSS
$custom: #2f66ba; $custom-light: #7a91cf; $custom-dark: #000000;
JSON
{
"hex": "#2f66ba",
"rgb": {
"r": 47,
"g": 102,
"b": 186
},
"hsl": {
"h": 216.259,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.51835,
"c": 0.14474,
"h": 258.8
},
"luminance": 0.13652
}Semantic roles & 50–950 ramp
primary
#2F66BA
secondary
#C9AA7C
accent
#A445E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82