Skip to content

#1b53af

a dark, vivid blue · cool · closest name: Royal Blue

RGB
27, 83, 175
HSL
217°, 73%, 40%
CMYK
85, 53, 0, 31
Luminance
0.0951

At a glance

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

Hex
#1b53af
Hue
217°
blue
Saturation
73%
vivid
Lightness
40%
dark
Brightness
69%
HSV value
Perceived
35%
weighted brightness
Luminance
0.0951
WCAG relative
Temperature
Cool
96/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
7.23:1
Closest name
Royal Blue
ΔE2000 10.3
Where it sits
Hue217° of 360°
Saturation73%
Lightness40%
Temperature
Warm ← → Cool96% 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#1b53af
RGBrgb(27, 83, 175)
HSLhsl(217, 73%, 40%)
CMYKcmyk(85%, 53%, 0%, 31%)
LABlab(37.0 17.5 -54.0)
LCHlch(37.0 56.8 287.9)
OKLCHoklch(0.462 0.158 260.1)
Decimal1790895
Display P3color(display-p3 0.106 0.325 0.686)

Copy-ready code

/* CSS */
color: #1b53af;
background-color: #1b53af;
/* Tailwind (arbitrary) */
class="text-[#1b53af] bg-[#1b53af]"
/* SCSS */
$brand: #1b53af;
/* SwiftUI */
Color(red: 0.106, green: 0.325, blue: 0.686)
/* Android */
Color.parseColor("#1b53af")
/* Flutter */
Color(0xFF1B53AF)
/* Python / OpenCV (BGR) */
(175, 83, 27)

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

Accessibility — WCAG contrast

Aa
#1b53af on white: 7.23:1
AA ✓ pass · AA-large · AAA
Aa
#1b53af on black: 2.90:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0F5EB2
deuteranopia · #0051AD
tritanopia · #006A79

Color scale — 50 to 950

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

#F3F6FC
#E7EEF8
#C8D9F3
#9EBDF0
#6D9CE9
#3D7BE1
#2165D4
#1b53af
#16438D
#143366
#0C2040
Base = 700Lightest = 50 · #F3F6FCDarkest = 950 · #0C2040
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7EEF8;
  --brand-200: #C8D9F3;
  --brand-300: #9EBDF0;
  --brand-400: #6D9CE9;
  --brand-500: #3D7BE1;
  --brand-600: #2165D4;
  --brand-700: #1b53af;
  --brand-800: #16438D;
  --brand-900: #143366;
  --brand-950: #0C2040;
  --brand: #1b53af;
  --brand-ink: #ffffff;
}

Colors that work with #1b53af

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#F4F7FA
Tinted page background
Border#C0D1ED
Hairlines and dividers
Muted text#4B699B
Captions on the surface
Accent#B35117
Second voice, not a rival
Dark variant#11346E
Hover, pressed, headers
Light variant#E9F0FC
Selected rows, tints
Dark surface#141A24
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 #1b53af

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#AF771B
Analogous left#1B9DAF
Analogous right#2D1BAF
Split-complement 1#AF2D1B
Split-complement 2#9DAF1B
Triadic 1#AF1B53
Triadic 2#53AF1B
Tetradic#AF1B9D

RGB percentages

Red10.6%
Green32.5%
Blue68.6%

CMYK percentages

Cyan84.6%
Magenta52.6%
Yellow0.0%
Key (black)31.4%

Color previews

#1b53af text on a black background

contrast 2.90:1

Card sample

#1b53af text on a white background

contrast 7.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(27, 83, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 83, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b53af;
background: linear-gradient(135deg, #1b53af, #461BAF);

Monochromatic scale

Palettes built from #1b53af

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.

#1b53af 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.

#1b53af, answered

What color is #1b53af?

#1b53af is a dark vivid blue, closest to Royal Blue (ΔE2000 10.3). It sits at 217° on the hue wheel with 73% saturation and 40% lightness, which reads as cool.

What is the RGB value of #1b53af?

rgb(27, 83, 175) — 27 red, 83 green and 175 blue out of 255, or 10.6% / 32.5% / 68.6% by channel.

Is #1b53af a light or a dark color?

It is a dark color. Relative luminance is 0.0951 and perceived brightness is 35%, so white text on it reaches 7.23:1.

Should I use black or white text on #1b53af?

White. It scores 7.23:1 against #1b53af, versus 2.90:1 for black — AAA at any size.

What is the complementary color of #1b53af?

#AF771B sits directly opposite on the wheel. Softer options are the split-complements #AF2D1B and #9DAF1B, which give the same contrast with far less vibration.

What colors go well with #1b53af?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B699B for secondary text, #B35117 as an accent and #11346E for hover and pressed states. For a palette, the analogous pair #1B9DAF and #2D1BAF stays calm, while #AF771B is the loudest partner.

What is #1b53af in CMYK for printing?

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

Is #1b53af warm or cool?

Cool — it scores 96 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #1B1DAF; nudged cooler, #164F9B.

Work with #1b53af in the Color Lab