Gradient Page

#00223E

#00223E is the HEX color code for
Midnight
#00223E

Midnight

Contrast
Dark
Luminance
11%
Color Conversions
Formats for Midnight (#00223E) in various color spaces.
#00223E
0, 34, 62
207°, 100%, 12%
100%, 45%, 0%, 76%
0.246, 0.066, 247.8
--color-midnight: #00223E;

Shades & Tints

#e5f4ff
#b3ddff
#80c6ff
#4dafff
#1a98ff
#007ee6
#0062b3
#004680
#002a4d
#000e1a
DarkestBaseLightest

Color Harmonies

Complementary

#00223E
#3d1c00

Analogous

#003d3a
#00223E
#00033d

Triadic

#00223E
#3d0022
#223d00

Split Complementary

#00223E
#3d0003
#3d3a00

UI Component Examples

See how #00223E looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Midnight Base */
  --color-primary: #00223E;
  --color-primary-rgb: 0 34 62;
  --color-primary-hsl: 207 100% 12%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #e5f4ff;
  --color-primary-100: #b3ddff;
  --color-primary-200: #80c6ff;
  --color-primary-300: #4dafff;
  --color-primary-400: #1a98ff;
  --color-primary-500: #007ee6;
  --color-primary-600: #0062b3;
  --color-primary-700: #004680;
  --color-primary-800: #002a4d;
  --color-primary-900: #000e1a;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names
#00223E Hex Color | Midnight sl | UI Color Scheme Generator