Skip to content

#033f9b

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

RGB
3, 63, 155
HSL
216°, 96%, 31%
CMYK
98, 59, 0, 39
Luminance
0.0594

At a glance

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

Hex
#033f9b
Hue
216°
blue
Saturation
96%
electric
Lightness
31%
dark
Brightness
61%
HSV value
Perceived
28%
weighted brightness
Luminance
0.0594
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
White
9.60:1
Closest name
Dark Slate Blue
ΔE2000 8.9
Where it sits
Hue216° of 360°
Saturation96%
Lightness31%
Temperature
Warm ← → Cool97% 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#033f9b
RGBrgb(3, 63, 155)
HSLhsl(216, 96%, 31%)
CMYKcmyk(98%, 59%, 0%, 39%)
LABlab(29.3 21.5 -54.6)
LCHlch(29.3 58.7 291.5)
OKLCHoklch(0.398 0.160 260.2)
Decimal212891
Display P3color(display-p3 0.012 0.247 0.608)

Copy-ready code

/* CSS */
color: #033f9b;
background-color: #033f9b;
/* Tailwind (arbitrary) */
class="text-[#033f9b] bg-[#033f9b]"
/* SCSS */
$brand: #033f9b;
/* SwiftUI */
Color(red: 0.012, green: 0.247, blue: 0.608)
/* Android */
Color.parseColor("#033f9b")
/* Flutter */
Color(0xFF033F9B)
/* Python / OpenCV (BGR) */
(155, 63, 3)

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

Accessibility — WCAG contrast

Aa
#033f9b on white: 9.60:1
AA ✓ pass · AA-large · AAA
Aa
#033f9b on black: 2.19:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004C9E
deuteranopia · #003F99
tritanopia · #005766

Color scale — 50 to 950

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

#F1F6FD
#E4EDFC
#C1D8FA
#91BCFD
#5A9AFC
#2378FB
#0562F0
#0451C8
#033f9b
#073273
#041F48
Base = 800Lightest = 50 · #F1F6FDDarkest = 950 · #041F48
:root {
  --brand-50: #F1F6FD;
  --brand-100: #E4EDFC;
  --brand-200: #C1D8FA;
  --brand-300: #91BCFD;
  --brand-400: #5A9AFC;
  --brand-500: #2378FB;
  --brand-600: #0562F0;
  --brand-700: #0451C8;
  --brand-800: #033f9b;
  --brand-900: #073273;
  --brand-950: #041F48;
  --brand: #033f9b;
  --brand-ink: #ffffff;
}

Colors that work with #033f9b

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#4B6A9B
Captions on the surface
Accent#9E3800
Second voice, not a rival
Dark variant#02337D
Hover, pressed, headers
Light variant#E6F0FF
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 #033f9b

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#9B5F03
Analogous left#038B9B
Analogous right#13039B
Split-complement 1#9B1303
Split-complement 2#8B9B03
Triadic 1#9B033F
Triadic 2#3F9B03
Tetradic#9B038B

RGB percentages

Red1.2%
Green24.7%
Blue60.8%

CMYK percentages

Cyan98.1%
Magenta59.4%
Yellow0.0%
Key (black)39.2%

Color previews

#033f9b text on a black background

contrast 2.19:1

Card sample

#033f9b text on a white background

contrast 9.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #033f9b;
Background color
Panel with #033f9b background
background-color: #033f9b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #033f9b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(3, 63, 155, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(3, 63, 155, 0.45);
Border & gradient
Gradient panel
border: 3px solid #033f9b;
background: linear-gradient(135deg, #033f9b, #2C039B);

Monochromatic scale

Palettes built from #033f9b

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.

#033f9b 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#033f9b, answered

What color is #033f9b?

#033f9b is a dark electric blue, closest to Dark Slate Blue (ΔE2000 8.9). It sits at 216° on the hue wheel with 96% saturation and 31% lightness, which reads as cool.

What is the RGB value of #033f9b?

rgb(3, 63, 155) — 3 red, 63 green and 155 blue out of 255, or 1.2% / 24.7% / 60.8% by channel.

Is #033f9b a light or a dark color?

It is a dark color. Relative luminance is 0.0594 and perceived brightness is 28%, so white text on it reaches 9.60:1.

Should I use black or white text on #033f9b?

White. It scores 9.60:1 against #033f9b, versus 2.19:1 for black — AAA at any size.

What is the complementary color of #033f9b?

#9B5F03 sits directly opposite on the wheel. Softer options are the split-complements #9B1303 and #8B9B03, which give the same contrast with far less vibration.

What colors go well with #033f9b?

For interface work: #F4F7FA as the surface, #C0D1ED for borders, #4B6A9B for secondary text, #9E3800 as an accent and #02337D for hover and pressed states. For a palette, the analogous pair #038B9B and #13039B stays calm, while #9B5F03 is the loudest partner.

What is #033f9b in CMYK for printing?

cmyk(98%, 59%, 0%, 39%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #033f9b warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #03079B; nudged cooler, #013A83.

Work with #033f9b in the Color Lab