#314FC5#314FC5
#314FC5 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.0% C 0.187 H 267.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #314FC5 |
|---|---|
| RGB | rgb(49, 79, 197) |
| HSL | hsl(228, 60%, 48%) |
| HSV | hsv(228, 75%, 77%) |
| CMYK | cmyk(75.1%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(38.33, 30.73, -64.69) |
| CIE-LCH | lch(38.33, 71.61, 295.41°) |
| OKLab | oklab(48.01% -0.0076 -0.1868) |
| OKLCH | oklch(48.01% 0.187 267.7) |
| XYZ | xyz(14.1371, 10.2746, 54.0506) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.89
Sapphire
#0F52BA
ΔE00 4.00
Blue (survey)
#0343DF
ΔE00 4.57
Warm Blue
#4B57DB
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FC5 #C5A731
analogous
#3199C5 #314FC5 #5D31C5
triadic
#314FC5 #C5314F #4FC531
tetradic
#314FC5 #C53199 #C5A731 #31C55D
square
#314FC5 #C53199 #C5A731 #31C55D
split-complementary
#314FC5 #C55D31 #99C531
monochromatic
#192863 #253B94 #314FC5 #5D75D7 #8E9FE3
Accessibility & contrast
On white
6.87
#314FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#314FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314FC5
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FC5 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C9
Deuteranopia (green-blind)
#0054C3
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #314fc5; /* rgb */ color: rgb(49, 79, 197); /* oklch */ color: oklch(48.0% 0.187 267.7);
Tailwind
colors: {
custom: {
50: '#7f80d7',
500: '#314fc5',
950: '#000000',
},
}SCSS
$custom: #314fc5; $custom-light: #7f80d7; $custom-dark: #000000;
JSON
{
"hex": "#314fc5",
"rgb": {
"r": 49,
"g": 79,
"b": 197
},
"hsl": {
"h": 227.838,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.48009,
"c": 0.18699,
"h": 267.7
},
"luminance": 0.10276
}Semantic roles & 50–950 ramp
primary
#314FC5
secondary
#CDBE85
accent
#C344E3
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A15
muted
#7D7C83