#1F44A5#1F44A5
#1F44A5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.162 H 264.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).
Color values
| HEX | #1F44A5 |
|---|---|
| RGB | rgb(31, 68, 165) |
| HSL | hsl(223, 68%, 38%) |
| HSV | hsv(223, 81%, 65%) |
| CMYK | cmyk(81.2%, 58.8%, 0%, 35.3%) |
| CIE-LAB | lab(32.13, 23.96, -55.92) |
| CIE-LCH | lch(32.13, 60.84, 293.19°) |
| OKLab | oklab(42.37% -0.0156 -0.1616) |
| OKLCH | oklch(42.37% 0.162 264.5) |
| XYZ | xyz(9.4213, 7.1410, 36.4718) |
| Luminance | 0.0714 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.10
Cobalt (survey)
#1E488F
ΔE00 4.01
Sapphire (survey)
#2138AB
ΔE00 4.29
Blue Blue
#2242C7
ΔE00 5.06
Sapphire
#0F52BA
ΔE00 5.29
Darkish Blue
#014182
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F44A5 #A5801F
analogous
#1F87A5 #1F44A5 #3D1FA5
triadic
#1F44A5 #A51F44 #44A51F
tetradic
#1F44A5 #A51F87 #A5801F #1FA53D
square
#1F44A5 #A51F87 #A5801F #1FA53D
split-complementary
#1F44A5 #A53D1F #87A51F
monochromatic
#0C1A3E #152F71 #1F44A5 #2A5AD7 #5E82E1
Accessibility & contrast
On white
8.65
#1F44A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#1F44A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F44A5
8.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F44A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F44A5 | 1.00 | 8.65 | 2.43 | 8.65 |
| #FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #1f44a5; /* rgb */ color: rgb(31, 68, 165); /* oklch */ color: oklch(42.4% 0.162 264.5);
Tailwind
colors: {
custom: {
50: '#7277c0',
500: '#1f44a5',
950: '#000000',
},
}SCSS
$custom: #1f44a5; $custom-light: #7277c0; $custom-dark: #000000;
JSON
{
"hex": "#1f44a5",
"rgb": {
"r": 31,
"g": 68,
"b": 165
},
"hsl": {
"h": 223.433,
"s": 68.367,
"l": 38.431
},
"oklch": {
"l": 0.42365,
"c": 0.16235,
"h": 264.5
},
"luminance": 0.07142
}Semantic roles & 50–950 ramp
primary
#1F44A5
secondary
#C5A85B
accent
#BB3DEB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81