#3140AD#3140AD
#3140AD is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.173 H 271.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3140AD |
|---|---|
| RGB | rgb(49, 64, 173) |
| HSL | hsl(233, 56%, 44%) |
| HSV | hsv(233, 72%, 68%) |
| CMYK | cmyk(71.7%, 63%, 0%, 32.2%) |
| CIE-LAB | lab(32.56, 31.67, -59.97) |
| CIE-LCH | lch(32.56, 67.82, 297.84°) |
| OKLab | oklab(43.12% 0.0032 -0.1732) |
| OKLCH | oklch(43.12% 0.173 271.1) |
| XYZ | xyz(10.6403, 7.3358, 40.3823) |
| Luminance | 0.0734 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Blue Blue
#2242C7
ΔE00 3.48
Ocean Blue
#4F42B5
ΔE00 4.45
Blueberry
#464196
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.02
Blue (survey)
#0343DF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3140AD #AD9E31
analogous
#317EAD #3140AD #6031AD
triadic
#3140AD #AD3140 #40AD31
tetradic
#3140AD #AD317E #AD9E31 #31AD60
square
#3140AD #AD317E #AD9E31 #31AD60
split-complementary
#3140AD #AD6031 #7EAD31
monochromatic
#161D4E #232E7D #3140AD #4E5ECD #7E89DA
Accessibility & contrast
On white
8.51
#3140AD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#3140AD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3140AD
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3140AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3140AD | 1.00 | 8.51 | 2.47 | 8.51 |
| #FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0047AB
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #3140ad; /* rgb */ color: rgb(49, 64, 173); /* oklch */ color: oklch(43.1% 0.173 271.1);
Tailwind
colors: {
custom: {
50: '#7a74c6',
500: '#3140ad',
950: '#000000',
},
}SCSS
$custom: #3140ad; $custom-light: #7a74c6; $custom-dark: #000000;
JSON
{
"hex": "#3140ad",
"rgb": {
"r": 49,
"g": 64,
"b": 173
},
"hsl": {
"h": 232.742,
"s": 55.856,
"l": 43.529
},
"oklch": {
"l": 0.43117,
"c": 0.1732,
"h": 271.1
},
"luminance": 0.07337
}Semantic roles & 50–950 ramp
primary
#3140AD
secondary
#C3BA77
accent
#CD49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82