#1F5BA1#1F5BA1
#1F5BA1 is a mid, vivid cyan. Relative luminance 0.103; OKLCH L 47.1% C 0.128 H 254.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5BA1 |
|---|---|
| RGB | rgb(31, 91, 161) |
| HSL | hsl(212, 68%, 38%) |
| HSV | hsv(212, 81%, 63%) |
| CMYK | cmyk(80.7%, 43.5%, 0%, 36.9%) |
| CIE-LAB | lab(38.46, 6.98, -43.30) |
| CIE-LCH | lch(38.46, 43.86, 279.16°) |
| OKLab | oklab(47.11% -0.0336 -0.124) |
| OKLCH | oklch(47.11% 0.128 254.8) |
| XYZ | xyz(10.7368, 10.3454, 35.1423) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.99
Dusk Blue
#26538D
ΔE00 3.50
Denim
#1560BD
ΔE00 3.50
Denim Blue
#3B5B92
ΔE00 3.77
Denim (survey)
#3B638C
ΔE00 4.20
Sapphire
#0F52BA
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5BA1 #A1651F
analogous
#1F9CA1 #1F5BA1 #241FA1
triadic
#1F5BA1 #A11F5B #5BA11F
tetradic
#1F5BA1 #A11F9C #A1651F #1FA124
square
#1F5BA1 #A11F9C #A1651F #1FA124
split-complementary
#1F5BA1 #A1241F #9CA11F
monochromatic
#0B213A #153E6E #1F5BA1 #2978D4 #5B98DF
Accessibility & contrast
On white
6.84
#1F5BA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#1F5BA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5BA1
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5BA1 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3861A4
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f5ba1; /* rgb */ color: rgb(31, 91, 161); /* oklch */ color: oklch(47.1% 0.128 254.8);
Tailwind
colors: {
custom: {
50: '#7088bd',
500: '#1f5ba1',
950: '#000000',
},
}SCSS
$custom: #1f5ba1; $custom-light: #7088bd; $custom-dark: #000000;
JSON
{
"hex": "#1f5ba1",
"rgb": {
"r": 31,
"g": 91,
"b": 161
},
"hsl": {
"h": 212.308,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.47113,
"c": 0.12849,
"h": 254.8
},
"luminance": 0.10347
}Semantic roles & 50–950 ramp
primary
#1F5BA1
secondary
#C49258
accent
#9B3DEB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81