#314BC9#314BC9
#314BC9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.197 H 268.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #314BC9 |
|---|---|
| RGB | rgb(49, 75, 201) |
| HSL | hsl(230, 61%, 49%) |
| HSV | hsv(230, 76%, 79%) |
| CMYK | cmyk(75.6%, 62.7%, 0%, 21.2%) |
| CIE-LAB | lab(37.66, 34.76, -68.10) |
| CIE-LCH | lch(37.66, 76.46, 297.04°) |
| OKLab | oklab(47.62% -0.005 -0.1969) |
| OKLCH | oklch(47.62% 0.197 268.5) |
| XYZ | xyz(14.3217, 9.9006, 56.4032) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.70
Blue (survey)
#0343DF
ΔE00 3.39
Warm Blue
#4B57DB
ΔE00 5.15
Sapphire
#0F52BA
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.57
Cobalt
#0047AB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BC9 #C9AF31
analogous
#3197C9 #314BC9 #6331C9
triadic
#314BC9 #C9314B #4BC931
tetradic
#314BC9 #C93197 #C9AF31 #31C963
square
#314BC9 #C93197 #C9AF31 #31C963
split-complementary
#314BC9 #C96331 #97C931
monochromatic
#192667 #253998 #314BC9 #5F74D8 #909FE4
Accessibility & contrast
On white
7.05
#314BC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#314BC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BC9
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BC9 | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #314bc9; /* rgb */ color: rgb(49, 75, 201); /* oklch */ color: oklch(47.6% 0.197 268.5);
Tailwind
colors: {
custom: {
50: '#807dda',
500: '#314bc9',
950: '#000000',
},
}SCSS
$custom: #314bc9; $custom-light: #807dda; $custom-dark: #000000;
JSON
{
"hex": "#314bc9",
"rgb": {
"r": 49,
"g": 75,
"b": 201
},
"hsl": {
"h": 229.737,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.47617,
"c": 0.19696,
"h": 268.5
},
"luminance": 0.09902
}Semantic roles & 50–950 ramp
primary
#314BC9
secondary
#CFC287
accent
#C944E4
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0915
muted
#7D7B83