#314795#314795
#314795 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.5% C 0.131 H 268.5°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #314795 |
|---|---|
| RGB | rgb(49, 71, 149) |
| HSL | hsl(227, 51%, 39%) |
| HSV | hsv(227, 67%, 58%) |
| CMYK | cmyk(67.1%, 52.3%, 0%, 41.6%) |
| CIE-LAB | lab(32.54, 18.17, -45.53) |
| CIE-LCH | lch(32.54, 49.02, 291.76°) |
| OKLab | oklab(42.52% -0.0034 -0.1306) |
| OKLCH | oklch(42.52% 0.131 268.5) |
| XYZ | xyz(8.9428, 7.3285, 29.3712) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.24
Cobalt
#0047AB
ΔE00 4.22
Blueberry
#464196
ΔE00 5.07
Darkish Blue
#014182
ΔE00 5.77
Dusk Blue
#26538D
ΔE00 5.94
Sapphire (survey)
#2138AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314795 #957F31
analogous
#317995 #314795 #4D3195
triadic
#314795 #953147 #479531
tetradic
#314795 #953179 #957F31 #31954D
square
#314795 #953179 #957F31 #31954D
split-complementary
#314795 #954D31 #799531
monochromatic
#131B39 #223167 #314795 #425EC1 #7085D0
Accessibility & contrast
On white
8.52
#314795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#314795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314795
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314795 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195198
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #314795; /* rgb */ color: rgb(49, 71, 149); /* oklch */ color: oklch(42.5% 0.131 268.5);
Tailwind
colors: {
custom: {
50: '#7579b5',
500: '#314795',
950: '#000000',
},
}SCSS
$custom: #314795; $custom-light: #7579b5; $custom-dark: #000000;
JSON
{
"hex": "#314795",
"rgb": {
"r": 49,
"g": 71,
"b": 149
},
"hsl": {
"h": 226.8,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.42517,
"c": 0.13069,
"h": 268.5
},
"luminance": 0.07329
}Semantic roles & 50–950 ramp
primary
#314795
secondary
#B8A76A
accent
#BB4EDA
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80