#1F4BB4#1F4BB4
#1F4BB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.174 H 263.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4BB4 |
|---|---|
| RGB | rgb(31, 75, 180) |
| HSL | hsl(222, 71%, 41%) |
| HSV | hsv(222, 83%, 71%) |
| CMYK | cmyk(82.8%, 58.3%, 0%, 29.4%) |
| CIE-LAB | lab(35.24, 25.13, -59.79) |
| CIE-LCH | lch(35.24, 64.86, 292.80°) |
| OKLab | oklab(45.08% -0.0192 -0.1728) |
| OKLCH | oklch(45.08% 0.174 263.6) |
| XYZ | xyz(11.3164, 8.6174, 44.2381) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.30
Sapphire
#0F52BA
ΔE00 2.80
Blue Blue
#2242C7
ΔE00 4.36
Cobalt (survey)
#1E488F
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 6.11
Blue (survey)
#0343DF
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4BB4 #B4881F
analogous
#1F96B4 #1F4BB4 #3E1FB4
triadic
#1F4BB4 #B41F4B #4BB41F
tetradic
#1F4BB4 #B41F96 #B4881F #1FB43E
square
#1F4BB4 #B41F96 #B4881F #1FB43E
split-complementary
#1F4BB4 #B43E1F #96B41F
monochromatic
#0D1F4C #163580 #1F4BB4 #3466DC #688DE5
Accessibility & contrast
On white
7.71
#1F4BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#1F4BB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4BB4
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4BB4 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004CB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f4bb4; /* rgb */ color: rgb(31, 75, 180); /* oklch */ color: oklch(45.1% 0.174 263.6);
Tailwind
colors: {
custom: {
50: '#757ccb',
500: '#1f4bb4',
950: '#000000',
},
}SCSS
$custom: #1f4bb4; $custom-light: #757ccb; $custom-dark: #000000;
JSON
{
"hex": "#1f4bb4",
"rgb": {
"r": 31,
"g": 75,
"b": 180
},
"hsl": {
"h": 222.282,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.45081,
"c": 0.17391,
"h": 263.6
},
"luminance": 0.08619
}Semantic roles & 50–950 ramp
primary
#1F4BB4
secondary
#CBAC64
accent
#B93AED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82