#314FB3#314FB3
#314FB3 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.163 H 267.1°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB3 |
|---|---|
| RGB | rgb(49, 79, 179) |
| HSL | hsl(226, 57%, 45%) |
| HSV | hsv(226, 73%, 70%) |
| CMYK | cmyk(72.6%, 55.9%, 0%, 29.8%) |
| CIE-LAB | lab(36.93, 24.06, -56.42) |
| CIE-LCH | lch(36.93, 61.34, 293.10°) |
| OKLab | oklab(46.52% -0.0082 -0.1626) |
| OKLCH | oklch(46.52% 0.163 267.1) |
| XYZ | xyz(12.1965, 9.4983, 43.8297) |
| Luminance | 0.0950 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Cobalt
#0047AB
ΔE00 3.87
Blue Blue
#2242C7
ΔE00 4.93
Cobalt (survey)
#1E488F
ΔE00 5.92
Denim Blue
#3B5B92
ΔE00 6.23
Dusk Blue
#26538D
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB3 #B39531
analogous
#3190B3 #314FB3 #5431B3
triadic
#314FB3 #B3314F #4FB331
tetradic
#314FB3 #B33190 #B39531 #31B354
square
#314FB3 #B33190 #B39531 #31B354
split-complementary
#314FB3 #B35431 #90B331
monochromatic
#172553 #243A83 #314FB3 #526FD0 #8297DD
Accessibility & contrast
On white
7.24
#314FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#314FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB3
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB3 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314fb3; /* rgb */ color: rgb(49, 79, 179); /* oklch */ color: oklch(46.5% 0.163 267.1);
Tailwind
colors: {
custom: {
50: '#7b7fca',
500: '#314fb3',
950: '#000000',
},
}SCSS
$custom: #314fb3; $custom-light: #7b7fca; $custom-dark: #000000;
JSON
{
"hex": "#314fb3",
"rgb": {
"r": 49,
"g": 79,
"b": 179
},
"hsl": {
"h": 226.154,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.46519,
"c": 0.16276,
"h": 267.1
},
"luminance": 0.095
}Semantic roles & 50–950 ramp
primary
#314FB3
secondary
#C6B47A
accent
#BD48E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82