#314FBA#314FBA
#314FBA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.172 H 267.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #314FBA |
|---|---|
| RGB | rgb(49, 79, 186) |
| HSL | hsl(227, 58%, 46%) |
| HSV | hsv(227, 74%, 73%) |
| CMYK | cmyk(73.7%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(37.46, 26.67, -59.67) |
| CIE-LCH | lch(37.46, 65.36, 294.08°) |
| OKLab | oklab(47.09% -0.0078 -0.1721) |
| OKLCH | oklch(47.09% 0.172 267.4) |
| XYZ | xyz(12.9224, 9.7887, 47.6532) |
| Luminance | 0.0979 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.24
Blue Blue
#2242C7
ΔE00 4.36
Cobalt
#0047AB
ΔE00 4.40
Blue (survey)
#0343DF
ΔE00 5.70
Warm Blue
#4B57DB
ΔE00 6.21
Ocean Blue
#4F42B5
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FBA #BA9C31
analogous
#3193BA #314FBA #5731BA
triadic
#314FBA #BA314F #4FBA31
tetradic
#314FBA #BA3193 #BA9C31 #31BA57
square
#314FBA #BA3193 #BA9C31 #31BA57
split-complementary
#314FBA #BA5731 #93BA31
monochromatic
#172659 #243A8A #314FBA #5671D2 #869ADF
Accessibility & contrast
On white
7.10
#314FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#314FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FBA
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FBA | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314fba; /* rgb */ color: rgb(49, 79, 186); /* oklch */ color: oklch(47.1% 0.172 267.4);
Tailwind
colors: {
custom: {
50: '#7c7fd0',
500: '#314fba',
950: '#000000',
},
}SCSS
$custom: #314fba; $custom-light: #7c7fd0; $custom-dark: #000000;
JSON
{
"hex": "#314fba",
"rgb": {
"r": 49,
"g": 79,
"b": 186
},
"hsl": {
"h": 226.861,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.47088,
"c": 0.1723,
"h": 267.4
},
"luminance": 0.0979
}Semantic roles & 50–950 ramp
primary
#314FBA
secondary
#C9B87E
accent
#C046E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82