#1E1E2E

Charcoal

#1E1E2ECharcoal

Luminance

0.014

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1E1E2E
No #
1E1E2E

RGB

RGB
rgb(30, 30, 46)
Values
R:30 G:30 B:46

HSL

HSL
hsl(240, 21%, 15%)
Values
H:240° S:21% L:15%

HSV / HSB

HSV
hsv(240, 35%, 18%)
Values
H:240° S:35% V:18%

CMYK

CMYK
cmyk(35%, 35%, 0%, 82%)
Values
C:35 M:35 Y:0 K:82

LAB

LAB
lab(12, 5, -11)
Values
L:12 a:5 b:-11

OKLCH

OKLCH
oklch(24.3% 0.030 283.9)
Values
L:24.3% C:0.030 H:283.9°

Code Formats

CSS
color: #1E1E2E;
Swift
UIColor(red: 0.118, green: 0.118, blue: 0.180, alpha: 1.0)
Kotlin
Color(0xFF1E1E2E)
Flutter
Color(0xFF1E1E2E)
Android
#FF1E1E2E

Contrast Analysis

WCAG compliance with grayscale colors

On White

16.40:1

AAA

On Black

1.28:1

Fail

Grayscale Contrast

Aa

0%

1.3

Fail
Aa

10%

1.1

Fail
Aa

20%

1.3

Fail
Aa

30%

1.9

Fail
Aa

40%

2.9

Fail
Aa

50%

4.1

AA-large
Aa

60%

5.8

AA
Aa

70%

7.8

AAA
Aa

80%

10.2

AAA
Aa

90%

13.0

AAA
Aa

100%

16.4

AAA

Best Grayscale Contrast

#FFFFFF with ratio 16.40: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, #47476C 0%, #32324D 100%)
OKLCH
linear-gradient(90deg, oklch(41.4% 0.061 283.4) 0%, oklch(33.0% 0.047 283.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #292957 0%, #373795 100%)
OKLCH
linear-gradient(135deg, oklch(30.7% 0.081 280.5) 0%, oklch(39.7% 0.150 277.1) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1E1E2E 0%, #2E2E1E 100%)
OKLCH
linear-gradient(90deg, oklch(24.3% 0.030 283.9) 0%, oklch(29.6% 0.027 108.0) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #1E262E 0%, #1E1E2E 50%, #261E2E 100%)
OKLCH
linear-gradient(90deg, oklch(26.4% 0.019 248.5) 0%, oklch(24.3% 0.030 283.9) 50%, oklch(25.2% 0.032 307.1) 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, #1E1E2E 0%, #181825 100%)
OKLCH
linear-gradient(180deg, oklch(24.3% 0.030 283.9) 0%, oklch(21.6% 0.025 284.1) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #3C3C5D 0%, #3C3C5D 100%)
OKLCH
radial-gradient(circle, oklch(37.1% 0.056 283.3) 0%, oklch(37.1% 0.056 283.3) 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