Skip to content

#263ba5

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

RGB
38, 59, 165
HSL
230°, 63%, 40%
CMYK
77, 64, 0, 35
Luminance
0.0626

At a glance

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

Hex
#263ba5
Hue
230°
blue
Saturation
63%
vivid
Lightness
40%
dark
Brightness
65%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0626
WCAG relative
Temperature
Cool
89/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.33:1
Closest name
Dark Slate Blue
ΔE2000 6.7
Where it sits
Hue230° of 360°
Saturation63%
Lightness40%
Temperature
Warm ← → Cool89% 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#263ba5
RGBrgb(38, 59, 165)
HSLhsl(230, 63%, 40%)
CMYKcmyk(77%, 64%, 0%, 35%)
LABlab(30.1 30.7 -59.3)
LCHlch(30.1 66.8 297.4)
OKLCHoklch(0.409 0.172 268.6)
Decimal2505637
Display P3color(display-p3 0.149 0.231 0.647)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#263ba5 on white: 9.33:1
AA ✓ pass · AA-large · AAA
Aa
#263ba5 on black: 2.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004DA8
deuteranopia · #0041A3
tritanopia · #00576A

Color scale — 50 to 950

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

#F4F5FB
#E8EBF7
#CCD2F0
#A4AFEA
#7688E0
#4960D5
#2E47C7
#263ba5
#1F2F85
#1A2660
#10173C
Base = 700Lightest = 50 · #F4F5FBDarkest = 950 · #10173C
:root {
  --brand-50: #F4F5FB;
  --brand-100: #E8EBF7;
  --brand-200: #CCD2F0;
  --brand-300: #A4AFEA;
  --brand-400: #7688E0;
  --brand-500: #4960D5;
  --brand-600: #2E47C7;
  --brand-700: #263ba5;
  --brand-800: #1F2F85;
  --brand-900: #1A2660;
  --brand-950: #10173C;
  --brand: #263ba5;
  --brand-ink: #ffffff;
}

Colors that work with #263ba5

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#F4F5FA
Tinted page background
Border#C0C7ED
Hairlines and dividers
Muted text#4B589B
Captions on the surface
Accent#A97122
Second voice, not a rival
Dark variant#182568
Hover, pressed, headers
Light variant#EAEDFA
Selected rows, tints
Dark surface#141624
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 #263ba5

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#A59026
Analogous left#267AA5
Analogous right#5126A5
Split-complement 1#A55126
Split-complement 2#7AA526
Triadic 1#A5263B
Triadic 2#3BA526
Tetradic#A5267A

RGB percentages

Red14.9%
Green23.1%
Blue64.7%

CMYK percentages

Cyan77.0%
Magenta64.2%
Yellow0.0%
Key (black)35.3%

Color previews

#263ba5 text on a black background

contrast 2.25:1

Card sample

#263ba5 text on a white background

contrast 9.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(38, 59, 165, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(38, 59, 165, 0.45);
Border & gradient
Gradient panel
border: 3px solid #263ba5;
background: linear-gradient(135deg, #263ba5, #6626A5);

Monochromatic scale

Palettes built from #263ba5

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.

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

#263ba5, answered

What color is #263ba5?

#263ba5 is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 6.7). It sits at 230° on the hue wheel with 63% saturation and 40% lightness, which reads as cool.

What is the RGB value of #263ba5?

rgb(38, 59, 165) — 38 red, 59 green and 165 blue out of 255, or 14.9% / 23.1% / 64.7% by channel.

Is #263ba5 a light or a dark color?

It is a dark color. Relative luminance is 0.0626 and perceived brightness is 29%, so white text on it reaches 9.33:1.

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

White. It scores 9.33:1 against #263ba5, versus 2.25:1 for black — AAA at any size.

What is the complementary color of #263ba5?

#A59026 sits directly opposite on the wheel. Softer options are the split-complements #A55126 and #7AA526, which give the same contrast with far less vibration.

What colors go well with #263ba5?

For interface work: #F4F5FA as the surface, #C0C7ED for borders, #4B589B for secondary text, #A97122 as an accent and #182568 for hover and pressed states. For a palette, the analogous pair #267AA5 and #5126A5 stays calm, while #A59026 is the loudest partner.

What is #263ba5 in CMYK for printing?

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

Is #263ba5 warm or cool?

Cool — it scores 89 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4026A5; nudged cooler, #2452A7.

Work with #263ba5 in the Color Lab