Skip to content

#282953

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

RGB
40, 41, 83
HSL
239°, 35%, 24%
CMYK
52, 51, 0, 68
Luminance
0.0266

At a glance

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

Hex
#282953
Hue
239°
blue
Saturation
35%
soft
Lightness
24%
deep
Brightness
33%
HSV value
Perceived
19%
weighted brightness
Luminance
0.0266
WCAG relative
Temperature
Cool
84/100 cool
Color family
Blue
Tone
Soft
Best ink
White
13.70:1
Closest name
Midnight Blue
ΔE2000 9.5
Where it sits
Hue239° of 360°
Saturation35%
Lightness24%
Temperature
Warm ← → Cool84% 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#282953
RGBrgb(40, 41, 83)
HSLhsl(239, 35%, 24%)
CMYKcmyk(52%, 51%, 0%, 68%)
LABlab(18.6 12.7 -25.9)
LCHlch(18.6 28.8 296.1)
OKLCHoklch(0.303 0.074 280.0)
Decimal2632019
Display P3color(display-p3 0.157 0.161 0.325)

Copy-ready code

/* CSS */
color: #282953;
background-color: #282953;
/* Tailwind (arbitrary) */
class="text-[#282953] bg-[#282953]"
/* SCSS */
$brand: #282953;
/* SwiftUI */
Color(red: 0.157, green: 0.161, blue: 0.325)
/* Android */
Color.parseColor("#282953")
/* Flutter */
Color(0xFF282953)
/* Python / OpenCV (BGR) */
(83, 41, 40)

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

Accessibility — WCAG contrast

Aa
#282953 on white: 13.70:1
AA ✓ pass · AA-large · AAA
Aa
#282953 on black: 1.53:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #182F55
deuteranopia · #142C52
tritanopia · #19323A

Color scale — 50 to 950

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

#F5F5F9
#ECECF4
#D4D4E8
#B3B4DB
#8D8FC8
#6869B6
#5052A5
#42448A
#35366E
#282953
#1A1B33
Base = 900Lightest = 50 · #F5F5F9Darkest = 950 · #1A1B33
:root {
  --brand-50: #F5F5F9;
  --brand-100: #ECECF4;
  --brand-200: #D4D4E8;
  --brand-300: #B3B4DB;
  --brand-400: #8D8FC8;
  --brand-500: #6869B6;
  --brand-600: #5052A5;
  --brand-700: #42448A;
  --brand-800: #35366E;
  --brand-900: #282953;
  --brand-950: #1A1B33;
  --brand: #282953;
  --brand-ink: #ffffff;
}

Colors that work with #282953

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#F5F5FA
Tinted page background
Border#C8C9E4
Hairlines and dividers
Muted text#4B4C9B
Captions on the surface
Accent#554825
Second voice, not a rival
Dark variant#292A56
Hover, pressed, headers
Light variant#EEEEF7
Selected rows, tints
Dark surface#141424
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 #282953

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
  • 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#535228
Analogous left#283E53
Analogous right#3C2853
Split-complement 1#533C28
Split-complement 2#3E5328
Triadic 1#532829
Triadic 2#295328
Tetradic#53283E

RGB percentages

Red15.7%
Green16.1%
Blue32.5%

CMYK percentages

Cyan51.8%
Magenta50.6%
Yellow0.0%
Key (black)67.5%

Color previews

#282953 text on a black background

contrast 1.53:1

Card sample

#282953 text on a white background

contrast 13.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 41, 83, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 41, 83, 0.45);
Border & gradient
Gradient panel
border: 3px solid #282953;
background: linear-gradient(135deg, #282953, #442853);

Monochromatic scale

Palettes built from #282953

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.

#282953 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.

#282953, answered

What color is #282953?

#282953 is a deep soft blue, closest to Midnight Blue (ΔE2000 9.5). It sits at 239° on the hue wheel with 35% saturation and 24% lightness, which reads as cool.

What is the RGB value of #282953?

rgb(40, 41, 83) — 40 red, 41 green and 83 blue out of 255, or 15.7% / 16.1% / 32.5% by channel.

Is #282953 a light or a dark color?

It is a dark color. Relative luminance is 0.0266 and perceived brightness is 19%, so white text on it reaches 13.70:1.

Should I use black or white text on #282953?

White. It scores 13.70:1 against #282953, versus 1.53:1 for black — AAA at any size.

What is the complementary color of #282953?

#535228 sits directly opposite on the wheel. Softer options are the split-complements #533C28 and #3E5328, which give the same contrast with far less vibration.

What colors go well with #282953?

For interface work: #F5F5FA as the surface, #C8C9E4 for borders, #4B4C9B for secondary text, #554825 as an accent and #292A56 for hover and pressed states. For a palette, the analogous pair #283E53 and #3C2853 stays calm, while #535228 is the loudest partner.

What is #282953 in CMYK for printing?

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

Is #282953 warm or cool?

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

Work with #282953 in the Color Lab