#1F538F#1F538F
#1F538F is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.0% C 0.113 H 254.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #1F538F |
|---|---|
| RGB | rgb(31, 83, 143) |
| HSL | hsl(212, 64%, 34%) |
| HSV | hsv(212, 78%, 56%) |
| CMYK | cmyk(78.3%, 42%, 0%, 43.9%) |
| CIE-LAB | lab(34.92, 5.10, -38.10) |
| CIE-LCH | lch(34.92, 38.44, 277.62°) |
| OKLab | oklab(44.01% -0.0305 -0.1089) |
| OKLCH | oklch(44.01% 0.113 254.3) |
| XYZ | xyz(8.6144, 8.4600, 27.1602) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dusk Blue
#26538D
ΔE00 0.80
Light Navy
#155084
ΔE00 2.13
Light Navy Blue
#2E5A88
ΔE00 2.76
Denim Blue
#3B5B92
ΔE00 4.09
Cobalt (survey)
#1E488F
ΔE00 4.14
Deep Sea Blue
#015482
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F538F #8F5B1F
analogous
#1F8B8F #1F538F #231F8F
triadic
#1F538F #8F1F53 #538F1F
tetradic
#1F538F #8F1F8B #8F5B1F #1F8F23
square
#1F538F #8F1F8B #8F5B1F #1F8F23
split-complementary
#1F538F #8F231F #8B8F1F
monochromatic
#09192A #14365D #1F538F #2A70C1 #4F8FD9
Accessibility & contrast
On white
7.80
#1F538F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#1F538F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F538F
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F538F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F538F | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365891
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #1f538f; /* rgb */ color: rgb(31, 83, 143); /* oklch */ color: oklch(44.0% 0.113 254.3);
Tailwind
colors: {
custom: {
50: '#6c82b0',
500: '#1f538f',
950: '#000000',
},
}SCSS
$custom: #1f538f; $custom-light: #6c82b0; $custom-dark: #000000;
JSON
{
"hex": "#1f538f",
"rgb": {
"r": 31,
"g": 83,
"b": 143
},
"hsl": {
"h": 212.143,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.44008,
"c": 0.1131,
"h": 254.3
},
"luminance": 0.08461
}Semantic roles & 50–950 ramp
primary
#1F538F
secondary
#BC894E
accent
#9A40E7
background
#F6F7FA
surface
#ECEEF5
border
#C7C9CF
text
#080A10
muted
#7A7C7F