#316FCA#316FCA
#316FCA is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.155 H 258.3°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #316FCA |
|---|---|
| RGB | rgb(49, 111, 202) |
| HSL | hsl(216, 61%, 49%) |
| HSV | hsv(216, 76%, 79%) |
| CMYK | cmyk(75.7%, 45%, 0%, 20.8%) |
| CIE-LAB | lab(47.34, 11.99, -52.99) |
| CIE-LCH | lch(47.34, 54.33, 282.75°) |
| OKLab | oklab(54.96% -0.0315 -0.1519) |
| OKLCH | oklch(54.96% 0.155 258.3) |
| XYZ | xyz(17.6078, 16.2841, 58.0808) |
| Luminance | 0.1629 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.32
Mid Blue
#276AB3
ΔE00 3.67
Cerulean Blue
#056EEE
ΔE00 3.69
Windows Blue
#3778BF
ΔE00 3.70
French Blue
#436BAD
ΔE00 3.81
Flat Blue
#3C73A8
ΔE00 4.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316FCA #CA8C31
analogous
#31BCCA #316FCA #3F31CA
triadic
#316FCA #CA316F #6FCA31
tetradic
#316FCA #CA31BC #CA8C31 #31CA3F
square
#316FCA #CA31BC #CA8C31 #31CA3F
split-complementary
#316FCA #CA3F31 #BCCA31
monochromatic
#193967 #255499 #316FCA #6091D8 #91B3E4
Accessibility & contrast
On white
4.93
#316FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#316FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316FCA
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316FCA | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4078CD
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#008592
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #316fca; /* rgb */ color: rgb(49, 111, 202); /* oklch */ color: oklch(55.0% 0.155 258.3);
Tailwind
colors: {
custom: {
50: '#7e97db',
500: '#316fca',
950: '#000000',
},
}SCSS
$custom: #316fca; $custom-light: #7e97db; $custom-dark: #000000;
JSON
{
"hex": "#316fca",
"rgb": {
"r": 49,
"g": 111,
"b": 202
},
"hsl": {
"h": 215.686,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.54964,
"c": 0.15513,
"h": 258.3
},
"luminance": 0.16286
}Semantic roles & 50–950 ramp
primary
#316FCA
secondary
#CFB288
accent
#A344E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83