#1F5BAA#1F5BAA
#1F5BAA is a mid, vivid cyan. Relative luminance 0.107; OKLCH L 47.7% C 0.141 H 257.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #1F5BAA |
|---|---|
| RGB | rgb(31, 91, 170) |
| HSL | hsl(214, 69%, 39%) |
| HSV | hsv(214, 82%, 67%) |
| CMYK | cmyk(81.8%, 46.5%, 0%, 33.3%) |
| CIE-LAB | lab(39.03, 10.54, -47.73) |
| CIE-LCH | lch(39.03, 48.88, 282.45°) |
| OKLab | oklab(47.74% -0.0318 -0.1371) |
| OKLCH | oklch(47.74% 0.141 257) |
| XYZ | xyz(11.5592, 10.6744, 39.4735) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim
#1560BD
ΔE00 2.65
Light Navy Blue
#2E5A88
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 3.93
Denim Blue
#3B5B92
ΔE00 3.96
Dusk Blue
#26538D
ΔE00 4.14
Denim (survey)
#3B638C
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F5BAA #AA6E1F
analogous
#1FA1AA #1F5BAA #291FAA
triadic
#1F5BAA #AA1F5B #5BAA1F
tetradic
#1F5BAA #AA1FA1 #AA6E1F #1FAA29
square
#1F5BAA #AA1FA1 #AA6E1F #1FAA29
split-complementary
#1F5BAA #AA291F #A1AA1F
monochromatic
#0C2442 #163F76 #1F5BAA #2D77D9 #6199E2
Accessibility & contrast
On white
6.70
#1F5BAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#1F5BAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F5BAA
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F5BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F5BAA | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#0B56A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #1f5baa; /* rgb */ color: rgb(31, 91, 170); /* oklch */ color: oklch(47.7% 0.141 257.0);
Tailwind
colors: {
custom: {
50: '#7288c4',
500: '#1f5baa',
950: '#000000',
},
}SCSS
$custom: #1f5baa; $custom-light: #7288c4; $custom-dark: #000000;
JSON
{
"hex": "#1f5baa",
"rgb": {
"r": 31,
"g": 91,
"b": 170
},
"hsl": {
"h": 214.101,
"s": 69.154,
"l": 39.412
},
"oklch": {
"l": 0.47739,
"c": 0.1407,
"h": 257
},
"luminance": 0.10676
}Semantic roles & 50–950 ramp
primary
#1F5BAA
secondary
#C79A5E
accent
#A03CEC
background
#F7F8FC
surface
#EDEFF8
border
#C8CAD1
text
#090B13
muted
#7B7C82