#314FAC#314FAC
#314FAC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.153 H 266.8°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #314FAC |
|---|---|
| RGB | rgb(49, 79, 172) |
| HSL | hsl(225, 56%, 43%) |
| HSV | hsv(225, 72%, 67%) |
| CMYK | cmyk(71.5%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(36.41, 21.45, -53.11) |
| CIE-LCH | lch(36.41, 57.28, 291.99°) |
| OKLab | oklab(45.97% -0.0086 -0.1528) |
| OKLCH | oklch(45.97% 0.153 266.8) |
| XYZ | xyz(11.5064, 9.2223, 40.1954) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.16
Cobalt
#0047AB
ΔE00 3.56
Cobalt (survey)
#1E488F
ΔE00 5.04
Denim Blue
#3B5B92
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.63
Dusk Blue
#26538D
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FAC #AC8E31
analogous
#318CAC #314FAC #5031AC
triadic
#314FAC #AC314F #4FAC31
tetradic
#314FAC #AC318C #AC8E31 #31AC50
square
#314FAC #AC318C #AC8E31 #31AC50
split-complementary
#314FAC #AC5031 #8CAC31
monochromatic
#16234D #23397C #314FAC #4E6DCC #7D94DA
Accessibility & contrast
On white
7.38
#314FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#314FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FAC
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FAC | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314fac; /* rgb */ color: rgb(49, 79, 172); /* oklch */ color: oklch(46.0% 0.153 266.8);
Tailwind
colors: {
custom: {
50: '#797fc5',
500: '#314fac',
950: '#000000',
},
}SCSS
$custom: #314fac; $custom-light: #797fc5; $custom-dark: #000000;
JSON
{
"hex": "#314fac",
"rgb": {
"r": 49,
"g": 79,
"b": 172
},
"hsl": {
"h": 225.366,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.45965,
"c": 0.15307,
"h": 266.8
},
"luminance": 0.09223
}Semantic roles & 50–950 ramp
primary
#314FAC
secondary
#C3B076
accent
#BA49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82