Skip to content

#090d39

a deep, vivid blue · cool · closest name: Midnight Blue

RGB
9, 13, 57
HSL
235°, 73%, 13%
CMYK
84, 77, 0, 78
Luminance
0.0064

At a glance

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

Hex
#090d39
Hue
235°
blue
Saturation
73%
vivid
Lightness
13%
deep
Brightness
22%
HSV value
Perceived
9%
weighted brightness
Luminance
0.0064
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
18.61:1
Closest name
Midnight Blue
ΔE2000 10.3
Where it sits
Hue235° of 360°
Saturation73%
Lightness13%
Temperature
Warm ← → Cool86% 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#090d39
RGBrgb(9, 13, 57)
HSLhsl(235, 73%, 13%)
CMYKcmyk(84%, 77%, 0%, 78%)
LABlab(5.8 15.4 -28.6)
LCHlch(5.8 32.5 298.4)
OKLCHoklch(0.193 0.084 271.6)
Decimal593209
Display P3color(display-p3 0.035 0.051 0.224)

Copy-ready code

/* CSS */
color: #090d39;
background-color: #090d39;
/* Tailwind (arbitrary) */
class="text-[#090d39] bg-[#090d39]"
/* SCSS */
$brand: #090d39;
/* SwiftUI */
Color(red: 0.035, green: 0.051, blue: 0.224)
/* Android */
Color.parseColor("#090d39")
/* Flutter */
Color(0xFF090D39)
/* Python / OpenCV (BGR) */
(57, 13, 9)

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 #090d39 · 18.61:1
Use #ffffffAAA at every size.
Aa
White text · 18.61:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 1.13:1
AA fail · AA large fail · AAA fail
Reading the other direction: #090d39 as text scores 18.61:1 on white and 1.13:1 on black.

Accessibility — WCAG contrast

Aa
#090d39 on white: 18.61:1
AA ✓ pass · AA-large · AAA
Aa
#090d39 on black: 1.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #00153A
deuteranopia · #001138
tritanopia · #001921

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #090d39 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.

#F3F4FC
#E7E8F8
#C9CCF3
#9EA5F0
#6E78E8
#3D4BE0
#2130D3
#1C28B0
#16208D
#141B66
#090d39
Base = 950Lightest = 50 · #F3F4FCDarkest = 950 · #090d39
:root {
  --brand-50: #F3F4FC;
  --brand-100: #E7E8F8;
  --brand-200: #C9CCF3;
  --brand-300: #9EA5F0;
  --brand-400: #6E78E8;
  --brand-500: #3D4BE0;
  --brand-600: #2130D3;
  --brand-700: #1C28B0;
  --brand-800: #16208D;
  --brand-900: #141B66;
  --brand-950: #090d39;
  --brand: #090d39;
  --brand-ink: #ffffff;
}

Colors that work with #090d39

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#F4F5FA
Tinted page background
Border#C0C4ED
Hairlines and dividers
Muted text#4B519B
Captions on the surface
Accent#3A2908
Second voice, not a rival
Dark variant#11196E
Hover, pressed, headers
Light variant#E9EBFC
Selected rows, tints
Dark surface#141524
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 #090d39

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • 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#393509
Analogous left#092539
Analogous right#1D0939
Split-complement 1#391D09
Split-complement 2#253909
Triadic 1#39090D
Triadic 2#0D3909
Tetradic#390925

RGB percentages

Red3.5%
Green5.1%
Blue22.4%

CMYK percentages

Cyan84.2%
Magenta77.2%
Yellow0.0%
Key (black)77.6%

Color previews

#090d39 text on a black background

contrast 1.13:1

Card sample

#090d39 text on a white background

contrast 18.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #090d39;
Background color
Panel with #090d39 background
background-color: #090d39;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #090d39;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(9, 13, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(9, 13, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #090d39;
background: linear-gradient(135deg, #090d39, #250939);

Monochromatic scale

Palettes built from #090d39

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.

#090d39 in the real world

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

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#090d39, answered

What color is #090d39?

#090d39 is a deep vivid blue, closest to Midnight Blue (ΔE2000 10.3). It sits at 235° on the hue wheel with 73% saturation and 13% lightness, which reads as cool.

What is the RGB value of #090d39?

rgb(9, 13, 57) — 9 red, 13 green and 57 blue out of 255, or 3.5% / 5.1% / 22.4% by channel.

Is #090d39 a light or a dark color?

It is a dark color. Relative luminance is 0.0064 and perceived brightness is 9%, so white text on it reaches 18.61:1.

Should I use black or white text on #090d39?

White. It scores 18.61:1 against #090d39, versus 1.13:1 for black — AAA at any size.

What is the complementary color of #090d39?

#393509 sits directly opposite on the wheel. Softer options are the split-complements #391D09 and #253909, which give the same contrast with far less vibration.

What colors go well with #090d39?

For interface work: #F4F5FA as the surface, #C0C4ED for borders, #4B519B for secondary text, #3A2908 as an accent and #11196E for hover and pressed states. For a palette, the analogous pair #092539 and #1D0939 stays calm, while #393509 is the loudest partner.

What is #090d39 in CMYK for printing?

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

Is #090d39 warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #170939; nudged cooler, #081C39.

Work with #090d39 in the Color Lab