#1F497C#1F497C
#1F497C is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 40.3% C 0.098 H 254.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #1F497C |
|---|---|
| RGB | rgb(31, 73, 124) |
| HSL | hsl(213, 60%, 30%) |
| HSV | hsv(213, 75%, 49%) |
| CMYK | cmyk(75%, 41.1%, 0%, 51.4%) |
| CIE-LAB | lab(30.67, 4.20, -33.18) |
| CIE-LCH | lch(30.67, 33.45, 277.22°) |
| OKLab | oklab(40.32% -0.0255 -0.0946) |
| OKLCH | oklch(40.32% 0.098 254.9) |
| XYZ | xyz(6.5844, 6.5109, 19.9746) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Twilight Blue
#0A437A
ΔE00 2.18
Prussian Blue
#004577
ΔE00 2.78
Cobalt (survey)
#1E488F
ΔE00 2.88
Darkish Blue
#014182
ΔE00 2.89
Light Navy
#155084
ΔE00 3.16
Dusk Blue
#26538D
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F497C #7C521F
analogous
#1F777C #1F497C #231F7C
triadic
#1F497C #7C1F49 #497C1F
tetradic
#1F497C #7C1F77 #7C521F #1F7C23
square
#1F497C #7C1F77 #7C521F #1F7C23
split-complementary
#1F497C #7C231F #777C1F
monochromatic
#070F1A #132C4B #1F497C #2B66AD #4584D0
Accessibility & contrast
On white
9.12
#1F497C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#1F497C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F497C
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F497C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F497C | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#23447B
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #1f497c; /* rgb */ color: rgb(31, 73, 124); /* oklch */ color: oklch(40.3% 0.098 254.9);
Tailwind
colors: {
custom: {
50: '#687ba2',
500: '#1f497c',
950: '#000000',
},
}SCSS
$custom: #1f497c; $custom-light: #687ba2; $custom-dark: #000000;
JSON
{
"hex": "#1f497c",
"rgb": {
"r": 31,
"g": 73,
"b": 124
},
"hsl": {
"h": 212.903,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.4032,
"c": 0.09802,
"h": 254.9
},
"luminance": 0.06512
}Semantic roles & 50–950 ramp
primary
#1F497C
secondary
#AF8048
accent
#9C45E3
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07090F
muted
#7A7B7F