#1A1A2E

Black

#1A1A2EBlack

Luminance

0.012

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#1A1A2E
No #
1A1A2E

RGB

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

HSL

HSL
hsl(240, 28%, 14%)
Values
H:240° S:28% L:14%

HSV / HSB

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

CMYK

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

LAB

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

OKLCH

OKLCH
oklch(22.8% 0.038 282.9)
Values
L:22.8% C:0.038 H:282.9°

Code Formats

CSS
color: #1A1A2E;
Swift
UIColor(red: 0.102, green: 0.102, blue: 0.180, alpha: 1.0)
Kotlin
Color(0xFF1A1A2E)
Flutter
Color(0xFF1A1A2E)
Android
#FF1A1A2E

Contrast Analysis

WCAG compliance with grayscale colors

On White

17.06:1

AAA

On Black

1.23: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

Fail
Aa

50%

4.3

AA-large
Aa

60%

6.0

AA
Aa

70%

8.1

AAA
Aa

80%

10.6

AAA
Aa

90%

13.5

AAA
Aa

100%

17.1

AAA

Best Grayscale Contrast

#FFFFFF with ratio 17.06: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, #3E3E6F 0%, #2E2E52 100%)
OKLCH
linear-gradient(90deg, oklch(38.8% 0.082 281.9) 0%, oklch(32.0% 0.063 282.2) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #232358 0%, #30309C 100%)
OKLCH
linear-gradient(135deg, oklch(29.0% 0.093 278.9) 0%, oklch(38.7% 0.170 275.0) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #1A1A2E 0%, #2E2E1A 100%)
OKLCH
linear-gradient(90deg, oklch(22.8% 0.038 282.9) 0%, oklch(29.5% 0.033 108.3) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #1A242E 0%, #1A1A2E 50%, #241A2E 100%)
OKLCH
linear-gradient(90deg, oklch(25.5% 0.024 248.8) 0%, oklch(22.8% 0.038 282.9) 50%, oklch(24.0% 0.040 306.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, #1A1A2E 0%, #181825 100%)
OKLCH
linear-gradient(180deg, oklch(22.8% 0.038 282.9) 0%, oklch(21.6% 0.025 284.1) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #35355F 0%, #373762 100%)
OKLCH
radial-gradient(circle, oklch(35.0% 0.072 282.0) 0%, oklch(35.8% 0.073 282.0) 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