Skip to content

#263d7f

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

RGB
38, 61, 127
HSL
225°, 54%, 32%
CMYK
70, 52, 0, 50
Luminance
0.0528

At a glance

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

Hex
#263d7f
Hue
225°
blue
Saturation
54%
vivid
Lightness
32%
dark
Brightness
50%
HSV value
Perceived
26%
weighted brightness
Luminance
0.0528
WCAG relative
Temperature
Cool
92/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
10.21:1
Closest name
Dark Slate Blue
ΔE2000 7
Where it sits
Hue225° of 360°
Saturation54%
Lightness32%
Temperature
Warm ← → Cool92% 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#263d7f
RGBrgb(38, 61, 127)
HSLhsl(225, 54%, 32%)
CMYKcmyk(70%, 52%, 0%, 50%)
LABlab(27.5 14.7 -40.1)
LCHlch(27.5 42.7 290.2)
OKLCHoklch(0.381 0.115 266.5)
Decimal2506111
Display P3color(display-p3 0.149 0.239 0.498)

Copy-ready code

/* CSS */
color: #263d7f;
background-color: #263d7f;
/* Tailwind (arbitrary) */
class="text-[#263d7f] bg-[#263d7f]"
/* SCSS */
$brand: #263d7f;
/* SwiftUI */
Color(red: 0.149, green: 0.239, blue: 0.498)
/* Android */
Color.parseColor("#263d7f")
/* Flutter */
Color(0xFF263D7F)
/* Python / OpenCV (BGR) */
(127, 61, 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 #263d7f · 10.21:1
Use #ffffffAAA at every size.
Aa
White text · 10.21:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.06:1
AA fail · AA large fail · AAA fail
Reading the other direction: #263d7f as text scores 10.21:1 on white and 2.06:1 on black.

Accessibility — WCAG contrast

Aa
#263d7f on white: 10.21:1
AA ✓ pass · AA-large · AAA
Aa
#263d7f on black: 2.06:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #174581
deuteranopia · #003D7E
tritanopia · #004D58

Color scale — 50 to 950

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

#F4F6FB
#E9EDF6
#CED6EE
#A9B8E5
#7D95D8
#5272CB
#385BBC
#2F4B9D
#263d7f
#1F2F5C
#131D39
Base = 800Lightest = 50 · #F4F6FBDarkest = 950 · #131D39
:root {
  --brand-50: #F4F6FB;
  --brand-100: #E9EDF6;
  --brand-200: #CED6EE;
  --brand-300: #A9B8E5;
  --brand-400: #7D95D8;
  --brand-500: #5272CB;
  --brand-600: #385BBC;
  --brand-700: #2F4B9D;
  --brand-800: #263d7f;
  --brand-900: #1F2F5C;
  --brand-950: #131D39;
  --brand: #263d7f;
  --brand-ink: #ffffff;
}

Colors that work with #263d7f

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#C0CCEC
Hairlines and dividers
Muted text#4B5F9B
Captions on the surface
Accent#825223
Second voice, not a rival
Dark variant#1D2F62
Hover, pressed, headers
Light variant#EBEFF9
Selected rows, tints
Dark surface#141824
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 #263d7f

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#7F6826
Analogous left#266A7F
Analogous right#3C267F
Split-complement 1#7F3C26
Split-complement 2#6A7F26
Triadic 1#7F263D
Triadic 2#3D7F26
Tetradic#7F266A

RGB percentages

Red14.9%
Green23.9%
Blue49.8%

CMYK percentages

Cyan70.1%
Magenta52.0%
Yellow0.0%
Key (black)50.2%

Color previews

#263d7f text on a black background

contrast 2.06:1

Card sample

#263d7f text on a white background

contrast 10.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(38, 61, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 61, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263d7f;
background: linear-gradient(135deg, #263d7f, #4A267F);

Monochromatic scale

Palettes built from #263d7f

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.

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

#263d7f, answered

What color is #263d7f?

#263d7f is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 7). It sits at 225° on the hue wheel with 54% saturation and 32% lightness, which reads as cool.

What is the RGB value of #263d7f?

rgb(38, 61, 127) — 38 red, 61 green and 127 blue out of 255, or 14.9% / 23.9% / 49.8% by channel.

Is #263d7f a light or a dark color?

It is a dark color. Relative luminance is 0.0528 and perceived brightness is 26%, so white text on it reaches 10.21:1.

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

White. It scores 10.21:1 against #263d7f, versus 2.06:1 for black — AAA at any size.

What is the complementary color of #263d7f?

#7F6826 sits directly opposite on the wheel. Softer options are the split-complements #7F3C26 and #6A7F26, which give the same contrast with far less vibration.

What colors go well with #263d7f?

For interface work: #F4F6FA as the surface, #C0CCEC for borders, #4B5F9B for secondary text, #825223 as an accent and #1D2F62 for hover and pressed states. For a palette, the analogous pair #266A7F and #3C267F stays calm, while #7F6826 is the loudest partner.

What is #263d7f in CMYK for printing?

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

Is #263d7f warm or cool?

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

Work with #263d7f in the Color Lab