#1F4ABB#1F4ABB
#1F4ABB is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.184 H 264.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4ABB |
|---|---|
| RGB | rgb(31, 74, 187) |
| HSL | hsl(223, 72%, 43%) |
| HSV | hsv(223, 83%, 73%) |
| CMYK | cmyk(83.4%, 60.4%, 0%, 26.7%) |
| CIE-LAB | lab(35.55, 28.51, -63.41) |
| CIE-LCH | lch(35.55, 69.52, 294.21°) |
| OKLab | oklab(45.49% -0.0184 -0.1835) |
| OKLCH | oklch(45.49% 0.184 264.3) |
| XYZ | xyz(11.9803, 8.7753, 48.0664) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.32
Blue Blue
#2242C7
ΔE00 3.34
Blue (survey)
#0343DF
ΔE00 5.04
Sapphire (survey)
#2138AB
ΔE00 5.81
Cobalt (survey)
#1E488F
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4ABB #BB901F
analogous
#1F98BB #1F4ABB #421FBB
triadic
#1F4ABB #BB1F4A #4ABB1F
tetradic
#1F4ABB #BB1F98 #BB901F #1FBB42
square
#1F4ABB #BB1F98 #BB901F #1FBB42
split-complementary
#1F4ABB #BB421F #98BB1F
monochromatic
#0E2052 #163587 #1F4ABB #3967DE #6E8FE7
Accessibility & contrast
On white
7.62
#1F4ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#1F4ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4ABB
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4ABB | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#004DB9
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #1f4abb; /* rgb */ color: rgb(31, 74, 187); /* oklch */ color: oklch(45.5% 0.184 264.3);
Tailwind
colors: {
custom: {
50: '#777cd0',
500: '#1f4abb',
950: '#000000',
},
}SCSS
$custom: #1f4abb; $custom-light: #777cd0; $custom-dark: #000000;
JSON
{
"hex": "#1f4abb",
"rgb": {
"r": 31,
"g": 74,
"b": 187
},
"hsl": {
"h": 223.462,
"s": 71.56,
"l": 42.745
},
"oklch": {
"l": 0.45493,
"c": 0.18439,
"h": 264.3
},
"luminance": 0.08777
}Semantic roles & 50–950 ramp
primary
#1F4ABB
secondary
#CDB169
accent
#BC3AEE
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82