#1F6398#1F6398
#1F6398 is a mid, moderate cyan. Relative luminance 0.115; OKLCH L 48.4% C 0.108 H 246.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6398 |
|---|---|
| RGB | rgb(31, 99, 152) |
| HSL | hsl(206, 66%, 36%) |
| HSV | hsv(206, 80%, 60%) |
| CMYK | cmyk(79.6%, 34.9%, 0%, 40.4%) |
| CIE-LAB | lab(40.38, -1.64, -34.86) |
| CIE-LCH | lch(40.38, 34.90, 267.30°) |
| OKLab | oklab(48.45% -0.0431 -0.0991) |
| OKLCH | oklch(48.45% 0.108 246.5) |
| XYZ | xyz(10.6922, 11.4807, 31.3521) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim (survey)
#3B638C
ΔE00 3.38
Ugly Blue
#31668A
ΔE00 3.40
Peacock Blue
#016795
ΔE00 3.79
Light Navy Blue
#2E5A88
ΔE00 4.15
Mid Blue
#276AB3
ΔE00 4.33
Denim
#1560BD
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6398 #98541F
analogous
#1F9890 #1F6398 #1F2698
triadic
#1F6398 #981F63 #63981F
tetradic
#1F6398 #901F98 #98541F #26981F
square
#1F6398 #901F98 #98541F #26981F
split-complementary
#1F6398 #981F26 #98901F
monochromatic
#0A2132 #154265 #1F6398 #2984CB #55A1DC
Accessibility & contrast
On white
6.37
#1F6398 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#1F6398 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F6398
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6398 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A659A
Deuteranopia (green-blind)
#395A97
Tritanopia (blue-blind)
#007076
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #1f6398; /* rgb */ color: rgb(31, 99, 152); /* oklch */ color: oklch(48.4% 0.108 246.5);
Tailwind
colors: {
custom: {
50: '#6e8fb6',
500: '#1f6398',
950: '#000000',
},
}SCSS
$custom: #1f6398; $custom-light: #6e8fb6; $custom-dark: #000000;
JSON
{
"hex": "#1f6398",
"rgb": {
"r": 31,
"g": 99,
"b": 152
},
"hsl": {
"h": 206.281,
"s": 66.12,
"l": 35.882
},
"oklch": {
"l": 0.48449,
"c": 0.1081,
"h": 246.5
},
"luminance": 0.11482
}Semantic roles & 50–950 ramp
primary
#1F6398
secondary
#C08353
accent
#893FE9
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80