Luminance
0.067
Category
Blue
Type
Dark
Best On
Color Codes
All color formats for your project
HEX
#303F9F303F9FRGB
rgb(48, 63, 159)R:48 G:63 B:159HSL
hsl(232, 54%, 41%)H:232° S:54% L:41%HSV / HSB
hsv(232, 70%, 62%)H:232° S:70% V:62%CMYK
cmyk(70%, 60%, 0%, 38%)C:70 M:60 Y:0 K:38LAB
lab(31, 27, -54)L:31 a:27 b:-54OKLCH
oklch(41.6% 0.156 271.2)L:41.6% C:0.156 H:271.2°Code Formats
color: #303F9F;UIColor(red: 0.188, green: 0.247, blue: 0.624, alpha: 1.0)Color(0xFF303F9F)Color(0xFF303F9F)#FF303F9FContrast Analysis
WCAG compliance with grayscale colors
On White
8.98:1
On Black
2.34:1
Grayscale Contrast
0%
2.3
Fail10%
1.9
Fail20%
1.4
Fail30%
1.1
Fail40%
1.6
Fail50%
2.2
Fail60%
3.2
AA-large70%
4.3
AA-large80%
5.6
AA90%
7.1
AAA100%
9.0
AAABest Grayscale Contrast
#FFFFFF with ratio 8.98: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, #6674D1 0%, #1D2762 100%)linear-gradient(90deg, oklch(59.2% 0.142 274.8) 0%, oklch(30.3% 0.105 271.4) 100%)Vibrant
135°linear-gradient(135deg, #2C43D8 0%, #152BB7 100%)linear-gradient(135deg, oklch(47.4% 0.226 268.4) 0%, oklch(39.5% 0.215 266.5) 100%)Complementary
90°linear-gradient(90deg, #303F9F 0%, #A19230 100%)linear-gradient(90deg, oklch(41.6% 0.156 271.2) 0%, oklch(65.5% 0.117 100.4) 100%)Analogous
90°linear-gradient(90deg, #3078A1 0%, #303F9F 50%, #5930A1 100%)linear-gradient(90deg, oklch(54.6% 0.095 237.3) 0%, oklch(41.6% 0.156 271.2) 50%, oklch(42.8% 0.172 294.7) 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, #303FA1 0%, #171926 100%)linear-gradient(180deg, oklch(41.8% 0.158 271.1) 0%, oklch(21.8% 0.026 277.3) 100%)Radial Glow
Radialradial-gradient(circle, #5262CB 0%, #232E76 100%)radial-gradient(circle, oklch(53.9% 0.162 273.2) 0%, oklch(33.9% 0.123 271.6) 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.