Skip to content

#0e1c21

a deep, soft cyan · cool · closest name: Black

RGB
14, 28, 33
HSL
196°, 40%, 9%
CMYK
58, 15, 0, 87
Luminance
0.0103

At a glance

Every number on this page in one read: what #0e1c21 is made of, how bright it looks, and which way it leans.

Hex
#0e1c21
Hue
196°
cyan
Saturation
40%
soft
Lightness
9%
deep
Brightness
13%
HSV value
Perceived
10%
weighted brightness
Luminance
0.0103
WCAG relative
Temperature
Cool
94/100 cool
Color family
Cyan
Tone
Soft
Best ink
White
17.40:1
Closest name
Black
ΔE2000 8.9
Where it sits
Hue196° of 360°
Saturation40%
Lightness9%
Temperature
Warm ← → Cool94% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#0e1c21
RGBrgb(14, 28, 33)
HSLhsl(196, 40%, 9%)
CMYKcmyk(58%, 15%, 0%, 87%)
LABlab(9.3 -4.3 -5.3)
LCHlch(9.3 6.8 231.2)
OKLCHoklch(0.216 0.022 222.7)
Decimal924705
Display P3color(display-p3 0.055 0.110 0.129)

Copy-ready code

/* CSS */
color: #0e1c21;
background-color: #0e1c21;
/* Tailwind (arbitrary) */
class="text-[#0e1c21] bg-[#0e1c21]"
/* SCSS */
$brand: #0e1c21;
/* SwiftUI */
Color(red: 0.055, green: 0.110, blue: 0.129)
/* Android */
Color.parseColor("#0e1c21")
/* Flutter */
Color(0xFF0E1C21)
/* Python / OpenCV (BGR) */
(33, 28, 14)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #0e1c21 · 17.40:1
Use #ffffffAAA at every size.
Aa
White text · 17.40:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.21:1
AA fail · AA large fail · AAA fail
Reading the other direction: #0e1c21 as text scores 17.40:1 on white and 1.21:1 on black.

Accessibility — WCAG contrast

Aa
#0e1c21 on white: 17.40:1
AA ✓ pass · AA-large · AAA
Aa
#0e1c21 on black: 1.21:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #191B21
deuteranopia · #161921
tritanopia · #061E1E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #0e1c21 is pinned to step 950; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F5F8FA
#EBF2F5
#D2E3EA
#B0D2DE
#89BBCD
#61A4BC
#4992AC
#3D7A8F
#316173
#264854
#0e1c21
Base = 950Lightest = 50 · #F5F8FADarkest = 950 · #0e1c21
:root {
  --brand-50: #F5F8FA;
  --brand-100: #EBF2F5;
  --brand-200: #D2E3EA;
  --brand-300: #B0D2DE;
  --brand-400: #89BBCD;
  --brand-500: #61A4BC;
  --brand-600: #4992AC;
  --brand-700: #3D7A8F;
  --brand-800: #316173;
  --brand-900: #264854;
  --brand-950: #0e1c21;
  --brand: #0e1c21;
  --brand-ink: #ffffff;
}

Colors that work with #0e1c21

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F4F9FA
Tinted page background
Border#C6DEE7
Hairlines and dividers
Muted text#4B869B
Captions on the surface
Accent#220D0D
Second voice, not a rival
Dark variant#264C5A
Hover, pressed, headers
Light variant#EDF5F7
Selected rows, tints
Dark surface#142024
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #0e1c21

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Charts, tags and secondary surfaces
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#21130E
Analogous left#0E211C
Analogous right#0E1221
Split-complement 1#210E12
Split-complement 2#211C0E
Triadic 1#210E1C
Triadic 2#1C210E
Tetradic#1C0E21

RGB percentages

Red5.5%
Green11.0%
Blue12.9%

CMYK percentages

Cyan57.6%
Magenta15.2%
Yellow0.0%
Key (black)87.1%

Color previews

#0e1c21 text on a black background

contrast 1.21:1

Card sample

#0e1c21 text on a white background

contrast 17.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0e1c21;
Background color
Panel with #0e1c21 background
background-color: #0e1c21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0e1c21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(14, 28, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(14, 28, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0e1c21;
background: linear-gradient(135deg, #0e1c21, #0E0F21);

Monochromatic scale

Palettes built from #0e1c21

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#0e1c21 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#0e1c21, answered

What color is #0e1c21?

#0e1c21 is a deep soft cyan, closest to Black (ΔE2000 8.9). It sits at 196° on the hue wheel with 40% saturation and 9% lightness, which reads as cool.

What is the RGB value of #0e1c21?

rgb(14, 28, 33) — 14 red, 28 green and 33 blue out of 255, or 5.5% / 11% / 12.9% by channel.

Is #0e1c21 a light or a dark color?

It is a dark color. Relative luminance is 0.0103 and perceived brightness is 10%, so white text on it reaches 17.40:1.

Should I use black or white text on #0e1c21?

White. It scores 17.40:1 against #0e1c21, versus 1.21:1 for black — AAA at any size.

What is the complementary color of #0e1c21?

#21130E sits directly opposite on the wheel. Softer options are the split-complements #210E12 and #211C0E, which give the same contrast with far less vibration.

What colors go well with #0e1c21?

For interface work: #F4F9FA as the surface, #C6DEE7 for borders, #4B869B for secondary text, #220D0D as an accent and #264C5A for hover and pressed states. For a palette, the analogous pair #0E211C and #0E1221 stays calm, while #21130E is the loudest partner.

What is #0e1c21 in CMYK for printing?

cmyk(58%, 15%, 0%, 87%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #0e1c21 warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #0E211F; nudged cooler, #0E1721.

Work with #0e1c21 in the Color Lab