#1F4CB4#1F4CB4
#1F4CB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.173 H 263.4°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4CB4 |
|---|---|
| RGB | rgb(31, 76, 180) |
| HSL | hsl(222, 71%, 41%) |
| HSV | hsv(222, 83%, 71%) |
| CMYK | cmyk(82.8%, 57.8%, 0%, 29.4%) |
| CIE-LAB | lab(35.51, 24.46, -59.35) |
| CIE-LCH | lch(35.51, 64.19, 292.40°) |
| OKLab | oklab(45.28% -0.0198 -0.1715) |
| OKLCH | oklch(45.28% 0.173 263.4) |
| XYZ | xyz(11.3848, 8.7541, 44.2608) |
| Luminance | 0.0876 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.38
Sapphire
#0F52BA
ΔE00 2.48
Blue Blue
#2242C7
ΔE00 4.64
Cobalt (survey)
#1E488F
ΔE00 5.19
Dusk Blue
#26538D
ΔE00 6.07
Blue (survey)
#0343DF
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4CB4 #B4871F
analogous
#1F97B4 #1F4CB4 #3D1FB4
triadic
#1F4CB4 #B41F4C #4CB41F
tetradic
#1F4CB4 #B41F97 #B4871F #1FB43D
square
#1F4CB4 #B41F97 #B4871F #1FB43D
split-complementary
#1F4CB4 #B43D1F #97B41F
monochromatic
#0D204C #163680 #1F4CB4 #3467DC #688EE5
Accessibility & contrast
On white
7.63
#1F4CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#1F4CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4CB4
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4CB4 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #1f4cb4; /* rgb */ color: rgb(31, 76, 180); /* oklch */ color: oklch(45.3% 0.173 263.4);
Tailwind
colors: {
custom: {
50: '#757dcb',
500: '#1f4cb4',
950: '#000000',
},
}SCSS
$custom: #1f4cb4; $custom-light: #757dcb; $custom-dark: #000000;
JSON
{
"hex": "#1f4cb4",
"rgb": {
"r": 31,
"g": 76,
"b": 180
},
"hsl": {
"h": 221.879,
"s": 70.616,
"l": 41.373
},
"oklch": {
"l": 0.45283,
"c": 0.17267,
"h": 263.4
},
"luminance": 0.08755
}Semantic roles & 50–950 ramp
primary
#1F4CB4
secondary
#CBAC64
accent
#B73AED
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82