Skip to content

#263c8f

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

RGB
38, 60, 143
HSL
227°, 58%, 36%
CMYK
73, 58, 0, 44
Luminance
0.0563

At a glance

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

Hex
#263c8f
Hue
227°
blue
Saturation
58%
vivid
Lightness
36%
dark
Brightness
56%
HSV value
Perceived
27%
weighted brightness
Luminance
0.0563
WCAG relative
Temperature
Cool
90/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.88:1
Closest name
Dark Slate Blue
ΔE2000 6.1
Where it sits
Hue227° of 360°
Saturation58%
Lightness36%
Temperature
Warm ← → Cool90% 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#263c8f
RGBrgb(38, 60, 143)
HSLhsl(227, 58%, 36%)
CMYKcmyk(73%, 58%, 0%, 44%)
LABlab(28.4 21.6 -48.5)
LCHlch(28.4 53.1 294.0)
OKLCHoklch(0.391 0.140 268.0)
Decimal2505871
Display P3color(display-p3 0.149 0.235 0.561)

Copy-ready code

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

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

Accessibility — WCAG contrast

Aa
#263c8f on white: 9.88:1
AA ✓ pass · AA-large · AAA
Aa
#263c8f on black: 2.13:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004892
deuteranopia · #003E8D
tritanopia · #00505F

Color scale — 50 to 950

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

#F4F5FB
#E9ECF7
#CDD4EF
#A6B4E7
#7A8FDC
#4E69D0
#3351C1
#2B44A1
#263c8f
#1D2A5E
#121A3B
Base = 800Lightest = 50 · #F4F5FBDarkest = 950 · #121A3B
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E9ECF7;
  --brand-200: #CDD4EF;
  --brand-300: #A6B4E7;
  --brand-400: #7A8FDC;
  --brand-500: #4E69D0;
  --brand-600: #3351C1;
  --brand-700: #2B44A1;
  --brand-800: #263c8f;
  --brand-900: #1D2A5E;
  --brand-950: #121A3B;
  --brand: #263c8f;
  --brand-ink: #ffffff;
}

Colors that work with #263c8f

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#C0C9ED
Hairlines and dividers
Muted text#4B5B9B
Captions on the surface
Accent#935F22
Second voice, not a rival
Dark variant#1B2A65
Hover, pressed, headers
Light variant#EBEEFA
Selected rows, tints
Dark surface#141724
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 #263c8f

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#8F7926
Analogous left#26718F
Analogous right#44268F
Split-complement 1#8F4426
Split-complement 2#718F26
Triadic 1#8F263C
Triadic 2#3C8F26
Tetradic#8F2671

RGB percentages

Red14.9%
Green23.5%
Blue56.1%

CMYK percentages

Cyan73.4%
Magenta58.0%
Yellow0.0%
Key (black)43.9%

Color previews

#263c8f text on a black background

contrast 2.13:1

Card sample

#263c8f text on a white background

contrast 9.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #263c8f

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.

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

#263c8f, answered

What color is #263c8f?

#263c8f is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 6.1). It sits at 227° on the hue wheel with 58% saturation and 36% lightness, which reads as cool.

What is the RGB value of #263c8f?

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

Is #263c8f a light or a dark color?

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

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

White. It scores 9.88:1 against #263c8f, versus 2.13:1 for black — AAA at any size.

What is the complementary color of #263c8f?

#8F7926 sits directly opposite on the wheel. Softer options are the split-complements #8F4426 and #718F26, which give the same contrast with far less vibration.

What colors go well with #263c8f?

For interface work: #F4F6FA as the surface, #C0C9ED for borders, #4B5B9B for secondary text, #935F22 as an accent and #1B2A65 for hover and pressed states. For a palette, the analogous pair #26718F and #44268F stays calm, while #8F7926 is the loudest partner.

What is #263c8f in CMYK for printing?

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

Is #263c8f warm or cool?

Cool — it scores 90 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #36268F; nudged cooler, #244D91.

Work with #263c8f in the Color Lab