#3126A7#3126A7
#3126A7 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.194 H 275.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3126A7 |
|---|---|
| RGB | rgb(49, 38, 167) |
| HSL | hsl(245, 63%, 40%) |
| HSV | hsv(245, 77%, 65%) |
| CMYK | cmyk(70.7%, 77.2%, 0%, 34.5%) |
| CIE-LAB | lab(26.24, 45.26, -66.75) |
| CIE-LCH | lch(26.24, 80.65, 304.14°) |
| OKLab | oklab(38.39% 0.02 -0.193) |
| OKLCH | oklch(38.39% 0.194 275.9) |
| XYZ | xyz(8.9325, 4.8284, 37.0130) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.99
Royal
#0C1793
ΔE00 5.02
Cobalt Blue
#030AA7
ΔE00 5.17
Ultramarine
#2000B1
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 5.30
True Blue
#010FCC
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3126A7 #9CA726
analogous
#265CA7 #3126A7 #7126A7
triadic
#3126A7 #A73126 #26A731
tetradic
#3126A7 #A7265C #9CA726 #26A771
square
#3126A7 #A7265C #9CA726 #26A771
split-complementary
#3126A7 #A77126 #5CA726
monochromatic
#140F43 #221B75 #3126A7 #4538D2 #746ADD
Accessibility & contrast
On white
10.68
#3126A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#3126A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3126A7
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3126A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3126A7 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#0038A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #3126a7; /* rgb */ color: rgb(49, 38, 167); /* oklch */ color: oklch(38.4% 0.194 275.9);
Tailwind
colors: {
custom: {
50: '#7b63c2',
500: '#3126a7',
950: '#000000',
},
}SCSS
$custom: #3126a7; $custom-light: #7b63c2; $custom-dark: #000000;
JSON
{
"hex": "#3126a7",
"rgb": {
"r": 49,
"g": 38,
"b": 167
},
"hsl": {
"h": 245.116,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.38388,
"c": 0.19402,
"h": 275.9
},
"luminance": 0.04829
}Semantic roles & 50–950 ramp
primary
#3126A7
secondary
#BBC365
accent
#E642D8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82