#161B22

Black

#161B22Black

Luminance

0.011

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#161B22
No #
161B22

RGB

RGB
rgb(22, 27, 34)
Values
R:22 G:27 B:34

HSL

HSL
hsl(215, 21%, 11%)
Values
H:215° S:21% L:11%

HSV / HSB

HSV
hsv(215, 35%, 13%)
Values
H:215° S:35% V:13%

CMYK

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

LAB

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

OKLCH

OKLCH
oklch(22.0% 0.016 256.8)
Values
L:22.0% C:0.016 H:256.8°

Code Formats

CSS
color: #161B22;
Swift
UIColor(red: 0.086, green: 0.106, blue: 0.133, alpha: 1.0)
Kotlin
Color(0xFF161B22)
Flutter
Color(0xFF161B22)
Android
#FF161B22

Contrast Analysis

WCAG compliance with grayscale colors

On White

17.30:1

AAA

On Black

1.21:1

Fail

Grayscale Contrast

Aa

0%

1.2

Fail
Aa

10%

1.0

Fail
Aa

20%

1.4

Fail
Aa

30%

2.0

Fail
Aa

40%

3.0

AA-large
Aa

50%

4.3

AA-large
Aa

60%

6.1

AA
Aa

70%

8.3

AAA
Aa

80%

10.8

AAA
Aa

90%

13.7

AAA
Aa

100%

17.3

AAA

Best Grayscale Contrast

#FFFFFF with ratio 17.30: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, #3E4C60 0%, #323E4D 100%)
OKLCH
linear-gradient(90deg, oklch(41.3% 0.038 257.3) 0%, oklch(35.9% 0.031 254.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #223249 0%, #375E95 100%)
OKLCH
linear-gradient(135deg, oklch(31.4% 0.047 257.4) 0%, oklch(48.0% 0.100 257.2) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #161B22 0%, #221D16 100%)
OKLCH
linear-gradient(90deg, oklch(22.0% 0.016 256.8) 0%, oklch(23.4% 0.015 76.1) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #162122 0%, #161B22 50%, #171622 100%)
OKLCH
linear-gradient(90deg, oklch(23.8% 0.016 203.1) 0%, oklch(22.0% 0.016 256.8) 50%, oklch(20.7% 0.024 288.0) 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, #161B22 0%, #181E25 100%)
OKLCH
linear-gradient(180deg, oklch(22.0% 0.016 256.8) 0%, oklch(23.2% 0.016 252.5) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #344050 0%, #3C4A5D 100%)
OKLCH
radial-gradient(circle, oklch(36.8% 0.032 255.7) 0%, oklch(40.5% 0.037 256.1) 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