#314DB7#314DB7
#314DB7 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.171 H 267.8°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #314DB7 |
|---|---|
| RGB | rgb(49, 77, 183) |
| HSL | hsl(227, 58%, 45%) |
| HSV | hsv(227, 73%, 72%) |
| CMYK | cmyk(73.2%, 57.9%, 0%, 28.2%) |
| CIE-LAB | lab(36.70, 26.86, -59.14) |
| CIE-LCH | lch(36.70, 64.96, 294.43°) |
| OKLab | oklab(46.45% -0.0064 -0.1706) |
| OKLCH | oklch(46.45% 0.171 267.8) |
| XYZ | xyz(12.4648, 9.3783, 45.9438) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.60
Blue Blue
#2242C7
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.03
Blue (survey)
#0343DF
ΔE00 5.69
Ocean Blue
#4F42B5
ΔE00 6.20
Sapphire (survey)
#2138AB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314DB7 #B79B31
analogous
#3190B7 #314DB7 #5831B7
triadic
#314DB7 #B7314D #4DB731
tetradic
#314DB7 #B73190 #B79B31 #31B758
square
#314DB7 #B73190 #B79B31 #31B758
split-complementary
#314DB7 #B75831 #90B731
monochromatic
#172456 #243987 #314DB7 #546ED1 #8497DE
Accessibility & contrast
On white
7.30
#314DB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#314DB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314DB7
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314DB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314DB7 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314db7; /* rgb */ color: rgb(49, 77, 183); /* oklch */ color: oklch(46.4% 0.171 267.8);
Tailwind
colors: {
custom: {
50: '#7c7ecd',
500: '#314db7',
950: '#000000',
},
}SCSS
$custom: #314db7; $custom-light: #7c7ecd; $custom-dark: #000000;
JSON
{
"hex": "#314db7",
"rgb": {
"r": 49,
"g": 77,
"b": 183
},
"hsl": {
"h": 227.463,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.46447,
"c": 0.17071,
"h": 267.8
},
"luminance": 0.0938
}Semantic roles & 50–950 ramp
primary
#314DB7
secondary
#C8B87C
accent
#C147E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82