#314CB7#314CB7
#314CB7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.172 H 268.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #314CB7 |
|---|---|
| RGB | rgb(49, 76, 183) |
| HSL | hsl(228, 58%, 45%) |
| HSV | hsv(228, 73%, 72%) |
| CMYK | cmyk(73.2%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(36.44, 27.52, -59.57) |
| CIE-LCH | lch(36.44, 65.62, 294.79°) |
| OKLab | oklab(46.25% -0.0057 -0.1719) |
| OKLCH | oklch(46.25% 0.172 268.1) |
| XYZ | xyz(12.3953, 9.2394, 45.9207) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.73
Sapphire
#0F52BA
ΔE00 3.86
Cobalt
#0047AB
ΔE00 4.02
Blue (survey)
#0343DF
ΔE00 5.53
Ocean Blue
#4F42B5
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CB7 #B79C31
analogous
#318FB7 #314CB7 #5931B7
triadic
#314CB7 #B7314C #4CB731
tetradic
#314CB7 #B7318F #B79C31 #31B759
square
#314CB7 #B7318F #B79C31 #31B759
split-complementary
#314CB7 #B75931 #8FB731
monochromatic
#172456 #243887 #314CB7 #546DD1 #8496DE
Accessibility & contrast
On white
7.37
#314CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#314CB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CB7
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CB7 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314cb7; /* rgb */ color: rgb(49, 76, 183); /* oklch */ color: oklch(46.3% 0.172 268.1);
Tailwind
colors: {
custom: {
50: '#7c7dcd',
500: '#314cb7',
950: '#000000',
},
}SCSS
$custom: #314cb7; $custom-light: #7c7dcd; $custom-dark: #000000;
JSON
{
"hex": "#314cb7",
"rgb": {
"r": 49,
"g": 76,
"b": 183
},
"hsl": {
"h": 227.91,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.46252,
"c": 0.17195,
"h": 268.1
},
"luminance": 0.09241
}Semantic roles & 50–950 ramp
primary
#314CB7
secondary
#C8B87C
accent
#C247E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82