#0D1117

Black

#0D1117Black

Luminance

0.005

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#0D1117
No #
0D1117

RGB

RGB
rgb(13, 17, 23)
Values
R:13 G:17 B:23

HSL

HSL
hsl(216, 28%, 7%)
Values
H:216° S:28% L:7%

HSV / HSB

HSV
hsv(216, 43%, 9%)
Values
H:216° S:43% V:9%

CMYK

CMYK
cmyk(43%, 26%, 0%, 91%)
Values
C:43 M:26 Y:0 K:91

LAB

LAB
lab(5, 0, -4)
Values
L:5 a:0 b:-4

OKLCH

OKLCH
oklch(17.6% 0.014 258.4)
Values
L:17.6% C:0.014 H:258.4°

Code Formats

CSS
color: #0D1117;
Swift
UIColor(red: 0.051, green: 0.067, blue: 0.090, alpha: 1.0)
Kotlin
Color(0xFF0D1117)
Flutter
Color(0xFF0D1117)
Android
#FF0D1117

Contrast Analysis

WCAG compliance with grayscale colors

On White

18.92:1

AAA

On Black

1.11:1

Fail

Grayscale Contrast

Aa

0%

1.1

Fail
Aa

10%

1.1

Fail
Aa

20%

1.5

Fail
Aa

30%

2.2

Fail
Aa

40%

3.3

AA-large
Aa

50%

4.7

AA
Aa

60%

6.6

AA
Aa

70%

9.0

AAA
Aa

80%

11.8

AAA
Aa

90%

15.0

AAA
Aa

100%

18.9

AAA

Best Grayscale Contrast

#FFFFFF with ratio 18.92: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, #324158 0%, #2E3C52 100%)
OKLCH
linear-gradient(90deg, oklch(37.2% 0.044 258.8) 0%, oklch(35.4% 0.043 259.3) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #19283E 0%, #305B9C 100%)
OKLCH
linear-gradient(135deg, oklch(27.5% 0.046 257.8) 0%, oklch(47.4% 0.116 258.5) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #0D1117 0%, #17130D 100%)
OKLCH
linear-gradient(90deg, oklch(17.6% 0.014 258.4) 0%, oklch(18.9% 0.013 77.8) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #0D1617 0%, #0D1117 50%, #0E0D17 100%)
OKLCH
linear-gradient(90deg, oklch(19.2% 0.013 204.7) 0%, oklch(17.6% 0.014 258.4) 50%, oklch(16.6% 0.021 288.5) 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, #0D1117 0%, #181D25 100%)
OKLCH
linear-gradient(180deg, oklch(17.6% 0.014 258.4) 0%, oklch(22.9% 0.017 259.7) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #283548 0%, #374862 100%)
OKLCH
radial-gradient(circle, oklch(32.6% 0.038 257.8) 0%, oklch(39.9% 0.049 258.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