#314FC8#314FC8
#314FC8 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.3% C 0.191 H 267.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #314FC8 |
|---|---|
| RGB | rgb(49, 79, 200) |
| HSL | hsl(228, 61%, 49%) |
| HSV | hsv(228, 76%, 78%) |
| CMYK | cmyk(75.5%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(38.57, 31.83, -66.03) |
| CIE-LCH | lch(38.57, 73.30, 295.74°) |
| OKLab | oklab(48.27% -0.0076 -0.1908) |
| OKLCH | oklch(48.27% 0.191 267.7) |
| XYZ | xyz(14.4843, 10.4135, 55.8790) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.87
Sapphire
#0F52BA
ΔE00 4.26
Blue (survey)
#0343DF
ΔE00 4.31
Warm Blue
#4B57DB
ΔE00 4.69
Cobalt
#0047AB
ΔE00 5.82
Azul
#1D5DEC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FC8 #C8AA31
analogous
#319BC8 #314FC8 #5E31C8
triadic
#314FC8 #C8314F #4FC831
tetradic
#314FC8 #C8319B #C8AA31 #31C85E
square
#314FC8 #C8319B #C8AA31 #31C85E
split-complementary
#314FC8 #C85E31 #9BC831
monochromatic
#192866 #253C97 #314FC8 #5F77D8 #90A0E4
Accessibility & contrast
On white
6.81
#314FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#314FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314FC8
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FC8 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0054C6
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #314fc8; /* rgb */ color: rgb(49, 79, 200); /* oklch */ color: oklch(48.3% 0.191 267.7);
Tailwind
colors: {
custom: {
50: '#7f80da',
500: '#314fc8',
950: '#000000',
},
}SCSS
$custom: #314fc8; $custom-light: #7f80da; $custom-dark: #000000;
JSON
{
"hex": "#314fc8",
"rgb": {
"r": 49,
"g": 79,
"b": 200
},
"hsl": {
"h": 228.079,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.48266,
"c": 0.19094,
"h": 267.7
},
"luminance": 0.10415
}Semantic roles & 50–950 ramp
primary
#314FC8
secondary
#CEC086
accent
#C444E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83