#4338CA

Royal Blue

#4338CARoyal Blue

Luminance

0.083

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#4338CA
No #
4338CA

RGB

RGB
rgb(67, 56, 202)
Values
R:67 G:56 B:202

HSL

HSL
hsl(245, 58%, 51%)
Values
H:245° S:58% L:51%

HSV / HSB

HSV
hsv(245, 72%, 79%)
Values
H:245° S:72% V:79%

CMYK

CMYK
cmyk(67%, 72%, 0%, 21%)
Values
C:67 M:72 Y:0 K:21

LAB

LAB
lab(35, 49, -74)
Values
L:35 a:49 b:-74

OKLCH

OKLCH
oklch(45.7% 0.215 277.0)
Values
L:45.7% C:0.215 H:277.0°

Code Formats

CSS
color: #4338CA;
Swift
UIColor(red: 0.263, green: 0.220, blue: 0.792, alpha: 1.0)
Kotlin
Color(0xFF4338CA)
Flutter
Color(0xFF4338CA)
Android
#FF4338CA

Contrast Analysis

WCAG compliance with grayscale colors

On White

7.90:1

AAA

On Black

2.66:1

Fail

Grayscale Contrast

Aa

0%

2.7

Fail
Aa

10%

2.2

Fail
Aa

20%

1.6

Fail
Aa

30%

1.1

Fail
Aa

40%

1.4

Fail
Aa

50%

2.0

Fail
Aa

60%

2.8

Fail
Aa

70%

3.8

AA-large
Aa

80%

4.9

AA
Aa

90%

6.3

AA
Aa

100%

7.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 7.90:1

Aa

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°
CSS
linear-gradient(90deg, #918AE0 0%, #29217D 100%)
OKLCH
linear-gradient(90deg, oklch(67.5% 0.125 286.2) 0%, oklch(32.6% 0.148 278.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #5F53E4 0%, #2012BF 100%)
OKLCH
linear-gradient(135deg, oklch(54.1% 0.211 280.4) 0%, oklch(38.3% 0.239 269.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #4338CA 0%, #BECB3A 100%)
OKLCH
linear-gradient(90deg, oklch(45.7% 0.215 277.0) 0%, oklch(80.7% 0.162 114.6) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #3A76CB 0%, #4338CA 50%, #8E3ACB 100%)
OKLCH
linear-gradient(90deg, oklch(56.9% 0.146 257.5) 0%, oklch(45.7% 0.215 277.0) 50%, oklch(53.4% 0.214 306.9) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
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%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
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%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #463ACB 0%, #171627 100%)
OKLCH
linear-gradient(180deg, oklch(46.3% 0.213 277.7) 0%, oklch(21.0% 0.033 285.8) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #7E76DB 0%, #2F2791 100%)
OKLCH
radial-gradient(circle, oklch(61.9% 0.149 284.8) 0%, oklch(36.1% 0.166 277.4) 100%)
Stops
0%
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.

View Palette