Skip to content

#293243

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

RGB
41, 50, 67
HSL
219°, 24%, 21%
CMYK
39, 25, 0, 74
Luminance
0.0316

At a glance

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

Hex
#293243
Hue
219°
blue
Saturation
24%
soft
Lightness
21%
deep
Brightness
26%
HSV value
Perceived
20%
weighted brightness
Luminance
0.0316
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Soft
Best ink
White
12.87:1
Closest name
Midnight Blue
ΔE2000 14.2
Where it sits
Hue219° of 360°
Saturation24%
Lightness21%
Temperature
Warm ← → Cool81% 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#293243
RGBrgb(41, 50, 67)
HSLhsl(219, 24%, 21%)
CMYKcmyk(39%, 25%, 0%, 74%)
LABlab(20.7 1.2 -11.8)
LCHlch(20.7 11.9 275.6)
OKLCHoklch(0.316 0.033 262.9)
Decimal2699843
Display P3color(display-p3 0.161 0.196 0.263)

Copy-ready code

/* CSS */
color: #293243;
background-color: #293243;
/* Tailwind (arbitrary) */
class="text-[#293243] bg-[#293243]"
/* SCSS */
$brand: #293243;
/* SwiftUI */
Color(red: 0.161, green: 0.196, blue: 0.263)
/* Android */
Color.parseColor("#293243")
/* Flutter */
Color(0xFF293243)
/* Python / OpenCV (BGR) */
(67, 50, 41)

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

Accessibility — WCAG contrast

Aa
#293243 on white: 12.87:1
AA ✓ pass · AA-large · AAA
Aa
#293243 on black: 1.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2C3344
deuteranopia · #2A3143
tritanopia · #213538

Color scale — 50 to 950

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

#F6F7F9
#EDEFF3
#D7DCE5
#B9C3D4
#97A5BF
#7487AA
#5D7198
#4D5E7F
#3E4C65
#293243
#1E242F
Base = 900Lightest = 50 · #F6F7F9Darkest = 950 · #1E242F
:root {
  --brand-50: #F6F7F9;
  --brand-100: #EDEFF3;
  --brand-200: #D7DCE5;
  --brand-300: #B9C3D4;
  --brand-400: #97A5BF;
  --brand-500: #7487AA;
  --brand-600: #5D7198;
  --brand-700: #4D5E7F;
  --brand-800: #3E4C65;
  --brand-900: #293243;
  --brand-950: #1E242F;
  --brand: #293243;
  --brand-ink: #ffffff;
}

Colors that work with #293243

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#F6F7F9
Tinted page background
Border#CCD3E0
Hairlines and dividers
Muted text#576A8E
Captions on the surface
Accent#453327
Second voice, not a rival
Dark variant#303B4F
Hover, pressed, headers
Light variant#EFF1F5
Selected rows, tints
Dark surface#151A23
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 #293243

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#433A29
Analogous left#293F43
Analogous right#2D2943
Split-complement 1#432D29
Split-complement 2#3F4329
Triadic 1#432932
Triadic 2#324329
Tetradic#43293F

RGB percentages

Red16.1%
Green19.6%
Blue26.3%

CMYK percentages

Cyan38.8%
Magenta25.4%
Yellow0.0%
Key (black)73.7%

Color previews

#293243 text on a black background

contrast 1.63:1

Card sample

#293243 text on a white background

contrast 12.87:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #293243

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.

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

#293243, answered

What color is #293243?

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

What is the RGB value of #293243?

rgb(41, 50, 67) — 41 red, 50 green and 67 blue out of 255, or 16.1% / 19.6% / 26.3% by channel.

Is #293243 a light or a dark color?

It is a dark color. Relative luminance is 0.0316 and perceived brightness is 20%, so white text on it reaches 12.87:1.

Should I use black or white text on #293243?

White. It scores 12.87:1 against #293243, versus 1.63:1 for black — AAA at any size.

What is the complementary color of #293243?

#433A29 sits directly opposite on the wheel. Softer options are the split-complements #432D29 and #3F4329, which give the same contrast with far less vibration.

What colors go well with #293243?

For interface work: #F6F7F9 as the surface, #CCD3E0 for borders, #576A8E for secondary text, #453327 as an accent and #303B4F for hover and pressed states. For a palette, the analogous pair #293F43 and #2D2943 stays calm, while #433A29 is the loudest partner.

What is #293243 in CMYK for printing?

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

Is #293243 warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2A2943; nudged cooler, #283544.

Work with #293243 in the Color Lab