#316CB2#316CB2
#316CB2 is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.7% C 0.126 H 254.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #316CB2 |
|---|---|
| RGB | rgb(49, 108, 178) |
| HSL | hsl(213, 57%, 45%) |
| HSV | hsv(213, 72%, 70%) |
| CMYK | cmyk(72.5%, 39.3%, 0%, 30.2%) |
| CIE-LAB | lab(45.07, 4.93, -42.75) |
| CIE-LCH | lch(45.07, 43.03, 276.58°) |
| OKLab | oklab(52.74% -0.0339 -0.1219) |
| OKLCH | oklch(52.74% 0.126 254.5) |
| XYZ | xyz(14.6621, 14.5908, 44.1544) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.00
Medium Blue
#2C6FBB
ΔE00 1.46
French Blue
#436BAD
ΔE00 2.75
Flat Blue
#3C73A8
ΔE00 2.96
Muted Blue
#3B719F
ΔE00 3.46
Bluish
#2976BB
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#316CB2 #B27731
analogous
#31ADB2 #316CB2 #3731B2
triadic
#316CB2 #B2316C #6CB231
tetradic
#316CB2 #B231AD #B27731 #31B237
square
#316CB2 #B231AD #B27731 #31B237
split-complementary
#316CB2 #B23731 #ADB231
monochromatic
#173252 #244F82 #316CB2 #518BCF #81ABDC
Accessibility & contrast
On white
5.36
#316CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#316CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #316CB2
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##316CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##316CB2 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C71B5
Deuteranopia (green-blind)
#3765B1
Tritanopia (blue-blind)
#007C86
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #316cb2; /* rgb */ color: rgb(49, 108, 178); /* oklch */ color: oklch(52.7% 0.126 254.5);
Tailwind
colors: {
custom: {
50: '#7995c9',
500: '#316cb2',
950: '#000000',
},
}SCSS
$custom: #316cb2; $custom-light: #7995c9; $custom-dark: #000000;
JSON
{
"hex": "#316cb2",
"rgb": {
"r": 49,
"g": 108,
"b": 178
},
"hsl": {
"h": 212.558,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.52742,
"c": 0.12648,
"h": 254.5
},
"luminance": 0.14592
}Semantic roles & 50–950 ramp
primary
#316CB2
secondary
#C5A379
accent
#9A48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82