#282C34

Charcoal

#282C34Charcoal

Luminance

0.025

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#282C34
No #
282C34

RGB

RGB
rgb(40, 44, 52)
Values
R:40 G:44 B:52

HSL

HSL
hsl(220, 13%, 18%)
Values
H:220° S:13% L:18%

HSV / HSB

HSV
hsv(220, 23%, 20%)
Values
H:220° S:23% V:20%

CMYK

CMYK
cmyk(23%, 15%, 0%, 80%)
Values
C:23 M:15 Y:0 K:80

LAB

LAB
lab(18, 0, -6)
Values
L:18 a:0 b:-6

OKLCH

OKLCH
oklch(29.3% 0.016 264.3)
Values
L:29.3% C:0.016 H:264.3°

Code Formats

CSS
color: #282C34;
Swift
UIColor(red: 0.157, green: 0.173, blue: 0.204, alpha: 1.0)
Kotlin
Color(0xFF282C34)
Flutter
Color(0xFF282C34)
Android
#FF282C34

Contrast Analysis

WCAG compliance with grayscale colors

On White

14.00:1

AAA

On Black

1.50:1

Fail

Grayscale Contrast

Aa

0%

1.5

Fail
Aa

10%

1.2

Fail
Aa

20%

1.1

Fail
Aa

30%

1.7

Fail
Aa

40%

2.4

Fail
Aa

50%

3.5

AA-large
Aa

60%

4.9

AA
Aa

70%

6.7

AA
Aa

80%

8.7

AAA
Aa

90%

11.1

AAA
Aa

100%

14.0

AAA

Best Grayscale Contrast

#FFFFFF with ratio 14.00: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, #545D6D 0%, #373D48 100%)
OKLCH
linear-gradient(90deg, oklch(47.7% 0.028 262.0) 0%, oklch(35.9% 0.021 262.6) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #33415B 0%, #3F598D 100%)
OKLCH
linear-gradient(135deg, oklch(37.5% 0.049 262.4) 0%, oklch(46.8% 0.091 263.2) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #282C34 0%, #343028 100%)
OKLCH
linear-gradient(90deg, oklch(29.3% 0.016 264.3) 0%, oklch(31.1% 0.015 84.6) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #283234 0%, #282C34 50%, #2A2834 100%)
OKLCH
linear-gradient(90deg, oklch(30.9% 0.014 211.1) 0%, oklch(29.3% 0.016 264.3) 50%, oklch(28.4% 0.022 292.6) 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, #282C34 0%, #181D25 100%)
OKLCH
linear-gradient(180deg, oklch(29.3% 0.016 264.3) 0%, oklch(22.9% 0.017 259.7) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #49515F 0%, #434956 100%)
OKLCH
radial-gradient(circle, oklch(43.3% 0.025 261.7) 0%, oklch(40.5% 0.023 265.7) 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