#1F5BA6#1F5BA6
#1F5BA6 is a mid, vivid cyan. Relative luminance 0.105; OKLCH L 47.5% C 0.135 H 256.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5BA6 |
|---|---|
| RGB | rgb(31, 91, 166) |
| HSL | hsl(213, 69%, 39%) |
| HSV | hsv(213, 81%, 65%) |
| CMYK | cmyk(81.3%, 45.2%, 0%, 34.9%) |
| CIE-LAB | lab(38.77, 8.96, -45.78) |
| CIE-LCH | lch(38.77, 46.64, 281.07°) |
| OKLab | oklab(47.46% -0.0325 -0.1313) |
| OKLCH | oklch(47.46% 0.135 256.1) |
| XYZ | xyz(11.1865, 10.5253, 37.5110) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 3.01
Light Navy Blue
#2E5A88
ΔE00 3.50
Dusk Blue
#26538D
ΔE00 3.82
Denim Blue
#3B5B92
ΔE00 3.82
Sapphire
#0F52BA
ΔE00 4.30
Denim (survey)
#3B638C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5BA6 #A66A1F
analogous
#1F9EA6 #1F5BA6 #261FA6
triadic
#1F5BA6 #A61F5B #5BA61F
tetradic
#1F5BA6 #A61F9E #A66A1F #1FA626
square
#1F5BA6 #A61F9E #A66A1F #1FA626
split-complementary
#1F5BA6 #A6261F #9EA61F
monochromatic
#0C223F #153F72 #1F5BA6 #2B78D7 #5E98E1
Accessibility & contrast
On white
6.76
#1F5BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#1F5BA6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5BA6
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5BA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5BA6 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3462A9
Deuteranopia (green-blind)
#1656A5
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #1f5ba6; /* rgb */ color: rgb(31, 91, 166); /* oklch */ color: oklch(47.5% 0.135 256.1);
Tailwind
colors: {
custom: {
50: '#7188c1',
500: '#1f5ba6',
950: '#000000',
},
}SCSS
$custom: #1f5ba6; $custom-light: #7188c1; $custom-dark: #000000;
JSON
{
"hex": "#1f5ba6",
"rgb": {
"r": 31,
"g": 91,
"b": 166
},
"hsl": {
"h": 213.333,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.47457,
"c": 0.13527,
"h": 256.1
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#1F5BA6
secondary
#C5965B
accent
#9E3CEB
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81