Luminance
0.022
Category
Blue
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#1F29371F2937RGB
rgb(31, 41, 55)R:31 G:41 B:55HSL
hsl(215, 28%, 17%)H:215° S:28% L:17%HSV / HSB
hsv(215, 44%, 22%)H:215° S:44% V:22%CMYK
cmyk(44%, 25%, 0%, 78%)C:44 M:25 Y:0 K:78LAB
lab(16, 0, -10)L:16 a:0 b:-10OKLCH
oklch(27.8% 0.030 256.8)L:27.8% C:0.030 H:256.8°Code Formats
color: #1F2937;UIColor(red: 0.122, green: 0.161, blue: 0.216, alpha: 1.0)Color(0xFF1F2937)Color(0xFF1F2937)#FF1F2937Contrast Analysis
WCAG compliance with grayscale colors
On White
14.68:1
On Black
1.43:1
Grayscale Contrast
0%
1.4
Fail10%
1.2
Fail20%
1.2
Fail30%
1.7
Fail40%
2.6
Fail50%
3.7
AA-large60%
5.2
AA70%
7.0
AAA80%
9.1
AAA90%
11.7
AAA100%
14.7
AAABest Grayscale Contrast
#FFFFFF with ratio 14.68:1
Color Harmonies
Harmonious color combinations
complementary
Two colors opposite on the color wheel (180°)
split-complementary
Base color + two colors adjacent to its complement
triadic
Three colors evenly spaced (120° apart)
tetradic
Four colors evenly spaced (90° apart)
analogous
Three colors adjacent on the color wheel (30° apart)
Color Variations
Tints, shades, tones, and full scale
Color Scale (50-900)
50
100
200
300
400
500
600
700
800
900
Tints (Lighter)
Shades (Darker)
Tones (Desaturated)
Gradients (OKLCH)
Primary
90°linear-gradient(90deg, #445A79 0%, #2E3D52 100%)linear-gradient(90deg, oklch(46.3% 0.058 257.0) 0%, oklch(35.6% 0.042 256.9) 100%)Vibrant
135°linear-gradient(135deg, #274062 0%, #305D9C 100%)linear-gradient(135deg, oklch(36.8% 0.067 256.4) 0%, oklch(47.9% 0.114 257.2) 100%)Complementary
90°linear-gradient(90deg, #1F2937 0%, #372D1F 100%)linear-gradient(90deg, oklch(27.8% 0.030 256.8) 0%, oklch(30.4% 0.028 75.7) 100%)Analogous
90°linear-gradient(90deg, #1F3537 0%, #1F2937 50%, #211F37 100%)linear-gradient(90deg, oklch(31.2% 0.028 203.1) 0%, oklch(27.8% 0.030 256.8) 50%, oklch(25.4% 0.045 286.6) 100%)Sunset
90°linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)Ocean
135°linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)Dark Mode
180°linear-gradient(180deg, #1F2937 0%, #181E25 100%)linear-gradient(180deg, oklch(27.8% 0.030 256.8) 0%, oklch(23.2% 0.016 252.5) 100%)Radial Glow
Radialradial-gradient(circle, #3B4E68 0%, #374962 100%)radial-gradient(circle, oklch(41.9% 0.050 256.4) 0%, oklch(40.1% 0.048 256.7) 100%)💡 About OKLCH Gradients
OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).
Generate Full Palette
Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.