#1951B4#1951B4
#1951B4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.2% C 0.168 H 261.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1951B4 |
|---|---|
| RGB | rgb(25, 81, 180) |
| HSL | hsl(218, 76%, 40%) |
| HSV | hsv(218, 86%, 71%) |
| CMYK | cmyk(86.1%, 55%, 0%, 29.4%) |
| CIE-LAB | lab(36.72, 20.64, -57.39) |
| CIE-LCH | lch(36.72, 60.99, 289.78°) |
| OKLab | oklab(46.15% -0.0264 -0.1657) |
| OKLCH | oklch(46.15% 0.168 261) |
| XYZ | xyz(11.5786, 9.3854, 44.3725) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 0.82
Cobalt
#0047AB
ΔE00 3.32
Dusk Blue
#26538D
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.33
Denim
#1560BD
ΔE00 5.40
Denim Blue
#3B5B92
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1951B4 #B47C19
analogous
#199EB4 #1951B4 #2F19B4
triadic
#1951B4 #B41951 #51B419
tetradic
#1951B4 #B4199E #B47C19 #19B42F
square
#1951B4 #B4199E #B47C19 #19B42F
split-complementary
#1951B4 #B42F19 #9EB419
monochromatic
#0A2149 #12397E #1951B4 #296CE1 #5F91E9
Accessibility & contrast
On white
7.30
#1951B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#1951B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1951B4
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1951B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1951B4 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #1951b4; /* rgb */ color: rgb(25, 81, 180); /* oklch */ color: oklch(46.2% 0.168 261.0);
Tailwind
colors: {
custom: {
50: '#7381cb',
500: '#1951b4',
950: '#000000',
},
}SCSS
$custom: #1951b4; $custom-light: #7381cb; $custom-dark: #000000;
JSON
{
"hex": "#1951b4",
"rgb": {
"r": 25,
"g": 81,
"b": 180
},
"hsl": {
"h": 218.323,
"s": 75.61,
"l": 40.196
},
"oklch": {
"l": 0.46151,
"c": 0.16784,
"h": 261
},
"luminance": 0.09387
}Semantic roles & 50–950 ramp
primary
#1951B4
secondary
#CDA45C
accent
#AE36F2
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82