#1F468C#1F468C
#1F468C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.8% C 0.125 H 261.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F468C |
|---|---|
| RGB | rgb(31, 70, 140) |
| HSL | hsl(219, 64%, 34%) |
| HSV | hsv(219, 78%, 55%) |
| CMYK | cmyk(77.9%, 50%, 0%, 45.1%) |
| CIE-LAB | lab(30.79, 12.64, -42.89) |
| CIE-LCH | lch(30.79, 44.71, 286.42°) |
| OKLab | oklab(40.76% -0.0195 -0.1232) |
| OKLCH | oklch(40.76% 0.125 261) |
| XYZ | xyz(7.4871, 6.5642, 25.6783) |
| Luminance | 0.0657 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 0.78
Darkish Blue
#014182
ΔE00 2.87
Twilight Blue
#0A437A
ΔE00 3.60
Cobalt
#0047AB
ΔE00 4.10
Dusk Blue
#26538D
ΔE00 4.51
Prussian Blue
#004577
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F468C #8C651F
analogous
#1F7C8C #1F468C #2E1F8C
triadic
#1F468C #8C1F46 #468C1F
tetradic
#1F468C #8C1F7C #8C651F #1F8C2E
square
#1F468C #8C1F7C #8C651F #1F8C2E
split-complementary
#1F468C #8C2E1F #7C8C1F
monochromatic
#091428 #142D5A #1F468C #2A5FBE #4E7FD8
Accessibility & contrast
On white
9.08
#1F468C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#1F468C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F468C
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F468C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F468C | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f468c; /* rgb */ color: rgb(31, 70, 140); /* oklch */ color: oklch(40.8% 0.125 261.0);
Tailwind
colors: {
custom: {
50: '#6c78ae',
500: '#1f468c',
950: '#000000',
},
}SCSS
$custom: #1f468c; $custom-light: #6c78ae; $custom-dark: #000000;
JSON
{
"hex": "#1f468c",
"rgb": {
"r": 31,
"g": 70,
"b": 140
},
"hsl": {
"h": 218.532,
"s": 63.743,
"l": 33.529
},
"oklch": {
"l": 0.40755,
"c": 0.12476,
"h": 261
},
"luminance": 0.06565
}Semantic roles & 50–950 ramp
primary
#1F468C
secondary
#BB934C
accent
#AB41E7
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F