Skip to content

#183c8f

a dark, vivid blue · cool · closest name: Dark Slate Blue

RGB
24, 60, 143
HSL
222°, 71%, 33%
CMYK
83, 58, 0, 44
Luminance
0.0541

At a glance

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

Hex
#183c8f
Hue
222°
blue
Saturation
71%
vivid
Lightness
33%
dark
Brightness
56%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0541
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
10.09:1
Closest name
Dark Slate Blue
ΔE2000 7.6
Where it sits
Hue222° of 360°
Saturation71%
Lightness33%
Temperature
Warm ← → Cool93% 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#183c8f
RGBrgb(24, 60, 143)
HSLhsl(222, 71%, 33%)
CMYKcmyk(83%, 58%, 0%, 44%)
LABlab(27.9 20.0 -49.5)
LCHlch(27.9 53.4 292.0)
OKLCHoklch(0.385 0.144 263.4)
Decimal1588367
Display P3color(display-p3 0.094 0.235 0.561)

Copy-ready code

/* CSS */
color: #183c8f;
background-color: #183c8f;
/* Tailwind (arbitrary) */
class="text-[#183c8f] bg-[#183c8f]"
/* SCSS */
$brand: #183c8f;
/* SwiftUI */
Color(red: 0.094, green: 0.235, blue: 0.561)
/* Android */
Color.parseColor("#183c8f")
/* Flutter */
Color(0xFF183C8F)
/* Python / OpenCV (BGR) */
(143, 60, 24)

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

Accessibility — WCAG contrast

Aa
#183c8f on white: 10.09:1
AA ✓ pass · AA-large · AAA
Aa
#183c8f on black: 2.08:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004792
deuteranopia · #003D8D
tritanopia · #00515F

Color scale — 50 to 950

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

#F3F6FC
#E7ECF8
#C9D6F3
#9FB7EF
#6F93E7
#3F6FDF
#2358D2
#1D49AF
#183c8f
#152D65
#0D1C3F
Base = 800Lightest = 50 · #F3F6FCDarkest = 950 · #0D1C3F
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7ECF8;
  --brand-200: #C9D6F3;
  --brand-300: #9FB7EF;
  --brand-400: #6F93E7;
  --brand-500: #3F6FDF;
  --brand-600: #2358D2;
  --brand-700: #1D49AF;
  --brand-800: #183c8f;
  --brand-900: #152D65;
  --brand-950: #0D1C3F;
  --brand: #183c8f;
  --brand-ink: #ffffff;
}

Colors that work with #183c8f

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#F4F6FA
Tinted page background
Border#C0CDED
Hairlines and dividers
Muted text#4B639B
Captions on the surface
Accent#924D15
Second voice, not a rival
Dark variant#122E6D
Hover, pressed, headers
Light variant#E9EFFB
Selected rows, tints
Dark surface#141924
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 #183c8f

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#8F6B18
Analogous left#18778F
Analogous right#2F188F
Split-complement 1#8F2F18
Split-complement 2#778F18
Triadic 1#8F183C
Triadic 2#3C8F18
Tetradic#8F1877

RGB percentages

Red9.4%
Green23.5%
Blue56.1%

CMYK percentages

Cyan83.2%
Magenta58.0%
Yellow0.0%
Key (black)43.9%

Color previews

#183c8f text on a black background

contrast 2.08:1

Card sample

#183c8f text on a white background

contrast 10.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(24, 60, 143, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 60, 143, 0.45);
Border & gradient
Gradient panel
border: 3px solid #183c8f;
background: linear-gradient(135deg, #183c8f, #43188F);

Monochromatic scale

Palettes built from #183c8f

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.

#183c8f 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.

#183c8f, answered

What color is #183c8f?

#183c8f is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 7.6). It sits at 222° on the hue wheel with 71% saturation and 33% lightness, which reads as cool.

What is the RGB value of #183c8f?

rgb(24, 60, 143) — 24 red, 60 green and 143 blue out of 255, or 9.4% / 23.5% / 56.1% by channel.

Is #183c8f a light or a dark color?

It is a dark color. Relative luminance is 0.0541 and perceived brightness is 27%, so white text on it reaches 10.09:1.

Should I use black or white text on #183c8f?

White. It scores 10.09:1 against #183c8f, versus 2.08:1 for black — AAA at any size.

What is the complementary color of #183c8f?

#8F6B18 sits directly opposite on the wheel. Softer options are the split-complements #8F2F18 and #778F18, which give the same contrast with far less vibration.

What colors go well with #183c8f?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B639B for secondary text, #924D15 as an accent and #122E6D for hover and pressed states. For a palette, the analogous pair #18778F and #2F188F stays calm, while #8F6B18 is the loudest partner.

What is #183c8f in CMYK for printing?

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

Is #183c8f warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1F188F; nudged cooler, #164891.

Work with #183c8f in the Color Lab