#314FB7#314FB7
#314FB7 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.168 H 267.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB7 |
|---|---|
| RGB | rgb(49, 79, 183) |
| HSL | hsl(227, 58%, 45%) |
| HSV | hsv(227, 73%, 72%) |
| CMYK | cmyk(73.2%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(37.23, 25.55, -58.29) |
| CIE-LCH | lch(37.23, 63.64, 293.67°) |
| OKLab | oklab(46.84% -0.0079 -0.168) |
| OKLCH | oklch(46.84% 0.168 267.3) |
| XYZ | xyz(12.6069, 9.6625, 45.9912) |
| Luminance | 0.0966 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.12
Cobalt
#0047AB
ΔE00 4.15
Blue Blue
#2242C7
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 6.04
Cobalt (survey)
#1E488F
ΔE00 6.43
Warm Blue
#4B57DB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB7 #B79931
analogous
#3192B7 #314FB7 #5631B7
triadic
#314FB7 #B7314F #4FB731
tetradic
#314FB7 #B73192 #B79931 #31B756
square
#314FB7 #B73192 #B79931 #31B756
split-complementary
#314FB7 #B75631 #92B731
monochromatic
#172556 #243A87 #314FB7 #5470D1 #8498DE
Accessibility & contrast
On white
7.16
#314FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#314FB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB7
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB7 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#00697B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314fb7; /* rgb */ color: rgb(49, 79, 183); /* oklch */ color: oklch(46.8% 0.168 267.3);
Tailwind
colors: {
custom: {
50: '#7c7fcd',
500: '#314fb7',
950: '#000000',
},
}SCSS
$custom: #314fb7; $custom-light: #7c7fcd; $custom-dark: #000000;
JSON
{
"hex": "#314fb7",
"rgb": {
"r": 49,
"g": 79,
"b": 183
},
"hsl": {
"h": 226.567,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.46842,
"c": 0.16823,
"h": 267.3
},
"luminance": 0.09664
}Semantic roles & 50–950 ramp
primary
#314FB7
secondary
#C8B77C
accent
#BE47E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82