#1A51B3#1A51B3
#1A51B3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.1% C 0.166 H 261.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #1A51B3 |
|---|---|
| RGB | rgb(26, 81, 179) |
| HSL | hsl(218, 75%, 40%) |
| HSV | hsv(218, 85%, 70%) |
| CMYK | cmyk(85.5%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(36.66, 20.31, -56.88) |
| CIE-LCH | lch(36.66, 60.40, 289.65°) |
| OKLab | oklab(46.09% -0.026 -0.1642) |
| OKLCH | oklch(46.09% 0.166 261) |
| XYZ | xyz(11.5022, 9.3577, 43.8391) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 0.93
Cobalt
#0047AB
ΔE00 3.29
Dusk Blue
#26538D
ΔE00 4.90
Cobalt (survey)
#1E488F
ΔE00 5.22
Denim
#1560BD
ΔE00 5.42
Denim Blue
#3B5B92
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1A51B3 #B37C1A
analogous
#1A9EB3 #1A51B3 #2F1AB3
triadic
#1A51B3 #B31A51 #51B31A
tetradic
#1A51B3 #B31A9E #B37C1A #1AB32F
square
#1A51B3 #B31A9E #B37C1A #1AB32F
split-complementary
#1A51B3 #B32F1A #9EB31A
monochromatic
#0A2148 #12397E #1A51B3 #2A6CE0 #6091E8
Accessibility & contrast
On white
7.31
#1A51B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#1A51B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1A51B3
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1A51B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1A51B3 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1a51b3; /* rgb */ color: rgb(26, 81, 179); /* oklch */ color: oklch(46.1% 0.166 261.0);
Tailwind
colors: {
custom: {
50: '#7381ca',
500: '#1a51b3',
950: '#000000',
},
}SCSS
$custom: #1a51b3; $custom-light: #7381ca; $custom-dark: #000000;
JSON
{
"hex": "#1a51b3",
"rgb": {
"r": 26,
"g": 81,
"b": 179
},
"hsl": {
"h": 218.431,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.46094,
"c": 0.16629,
"h": 261
},
"luminance": 0.09359
}Semantic roles & 50–950 ramp
primary
#1A51B3
secondary
#CCA45D
accent
#AE37F1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82