#31529F#31529F
#31529F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.131 H 264.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #31529F |
|---|---|
| RGB | rgb(49, 82, 159) |
| HSL | hsl(222, 53%, 41%) |
| HSV | hsv(222, 69%, 62%) |
| CMYK | cmyk(69.2%, 48.4%, 0%, 37.6%) |
| CIE-LAB | lab(36.35, 14.58, -45.45) |
| CIE-LCH | lch(36.35, 47.73, 287.79°) |
| OKLab | oklab(45.63% -0.0128 -0.1302) |
| OKLCH | oklch(45.63% 0.131 264.4) |
| XYZ | xyz(10.5397, 9.1897, 34.0125) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusk Blue
#26538D
ΔE00 3.61
Denim Blue
#3B5B92
ΔE00 3.64
Sapphire
#0F52BA
ΔE00 3.76
Cobalt (survey)
#1E488F
ΔE00 3.98
Cobalt
#0047AB
ΔE00 4.30
Light Navy Blue
#2E5A88
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31529F #9F7E31
analogous
#31899F #31529F #47319F
triadic
#31529F #9F3152 #529F31
tetradic
#31529F #9F3189 #9F7E31 #319F47
square
#31529F #9F3189 #9F7E31 #319F47
split-complementary
#31529F #9F4731 #899F31
monochromatic
#142241 #233A70 #31529F #476DC6 #7692D5
Accessibility & contrast
On white
7.40
#31529F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#31529F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31529F
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31529F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31529F | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295BA2
Deuteranopia (green-blind)
#0F519D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #31529f; /* rgb */ color: rgb(49, 82, 159); /* oklch */ color: oklch(45.6% 0.131 264.4);
Tailwind
colors: {
custom: {
50: '#7682bc',
500: '#31529f',
950: '#000000',
},
}SCSS
$custom: #31529f; $custom-light: #7682bc; $custom-dark: #000000;
JSON
{
"hex": "#31529f",
"rgb": {
"r": 49,
"g": 82,
"b": 159
},
"hsl": {
"h": 222,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.45631,
"c": 0.13086,
"h": 264.4
},
"luminance": 0.09191
}Semantic roles & 50–950 ramp
primary
#31529F
secondary
#BDA56F
accent
#B14CDC
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81