#1F4294#1F4294
#1F4294 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.5% C 0.141 H 263.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4294 |
|---|---|
| RGB | rgb(31, 66, 148) |
| HSL | hsl(222, 65%, 35%) |
| HSV | hsv(222, 79%, 58%) |
| CMYK | cmyk(79.1%, 55.4%, 0%, 42%) |
| CIE-LAB | lab(30.22, 18.59, -48.72) |
| CIE-LCH | lch(30.22, 52.15, 290.88°) |
| OKLab | oklab(40.5% -0.0153 -0.1405) |
| OKLCH | oklch(40.5% 0.141 263.8) |
| XYZ | xyz(7.8567, 6.3250, 28.8180) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.62
Cobalt
#0047AB
ΔE00 3.49
Darkish Blue
#014182
ΔE00 4.12
Twilight Blue
#0A437A
ΔE00 5.19
Sapphire (survey)
#2138AB
ΔE00 5.48
Dusk Blue
#26538D
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4294 #94711F
analogous
#1F7D94 #1F4294 #361F94
triadic
#1F4294 #941F42 #42941F
tetradic
#1F4294 #941F7D #94711F #1F9436
square
#1F4294 #941F7D #94711F #1F9436
split-complementary
#1F4294 #94361F #7D941F
monochromatic
#0A152F #142B61 #1F4294 #2A59C7 #537BDB
Accessibility & contrast
On white
9.27
#1F4294 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#1F4294 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4294
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4294 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4294 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #1f4294; /* rgb */ color: rgb(31, 66, 148); /* oklch */ color: oklch(40.5% 0.141 263.8);
Tailwind
colors: {
custom: {
50: '#6e75b4',
500: '#1f4294',
950: '#000000',
},
}SCSS
$custom: #1f4294; $custom-light: #6e75b4; $custom-dark: #000000;
JSON
{
"hex": "#1f4294",
"rgb": {
"r": 31,
"g": 66,
"b": 148
},
"hsl": {
"h": 222.051,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.40503,
"c": 0.14131,
"h": 263.8
},
"luminance": 0.06326
}Semantic roles & 50–950 ramp
primary
#1F4294
secondary
#BE9D51
accent
#B63FE8
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80