Skip to content

#2d33af

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

RGB
45, 51, 175
HSL
237°, 59%, 43%
CMYK
74, 71, 0, 31
Luminance
0.0602

At a glance

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

Hex
#2d33af
Hue
237°
blue
Saturation
59%
vivid
Lightness
43%
dark
Brightness
69%
HSV value
Perceived
29%
weighted brightness
Luminance
0.0602
WCAG relative
Temperature
Cool
85/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
9.53:1
Closest name
Dark Slate Blue
ΔE2000 7.5
Where it sits
Hue237° of 360°
Saturation59%
Lightness43%
Temperature
Warm ← → Cool85% 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#2d33af
RGBrgb(45, 51, 175)
HSLhsl(237, 59%, 43%)
CMYKcmyk(74%, 71%, 0%, 31%)
LABlab(29.5 40.1 -66.3)
LCHlch(29.5 77.5 301.2)
OKLCHoklch(0.409 0.192 272.1)
Decimal2962351
Display P3color(display-p3 0.176 0.200 0.686)

Copy-ready code

/* CSS */
color: #2d33af;
background-color: #2d33af;
/* Tailwind (arbitrary) */
class="text-[#2d33af] bg-[#2d33af]"
/* SCSS */
$brand: #2d33af;
/* SwiftUI */
Color(red: 0.176, green: 0.200, blue: 0.686)
/* Android */
Color.parseColor("#2d33af")
/* Flutter */
Color(0xFF2D33AF)
/* Python / OpenCV (BGR) */
(175, 51, 45)

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

Accessibility — WCAG contrast

Aa
#2d33af on white: 9.53:1
AA ✓ pass · AA-large · AAA
Aa
#2d33af on black: 2.20:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #004CB3
deuteranopia · #003FAD
tritanopia · #00566D

Color scale — 50 to 950

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

#F4F4FB
#E9E9F7
#CDCEEF
#A6A9E8
#797EDD
#4C53D1
#3239C3
#2d33af
#212682
#1C1F5E
#11133B
Base = 700Lightest = 50 · #F4F4FBDarkest = 950 · #11133B
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E9E9F7;
  --brand-200: #CDCEEF;
  --brand-300: #A6A9E8;
  --brand-400: #797EDD;
  --brand-500: #4C53D1;
  --brand-600: #3239C3;
  --brand-700: #2d33af;
  --brand-800: #212682;
  --brand-900: #1C1F5E;
  --brand-950: #11133B;
  --brand: #2d33af;
  --brand-ink: #ffffff;
}

Colors that work with #2d33af

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#C0C2ED
Hairlines and dividers
Muted text#4B4E9B
Captions on the surface
Accent#A68026
Second voice, not a rival
Dark variant#1A1E65
Hover, pressed, headers
Light variant#EBEBFA
Selected rows, tints
Dark surface#141424
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 #2d33af

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#AFA92D
Analogous left#2D74AF
Analogous right#682DAF
Split-complement 1#AF682D
Split-complement 2#74AF2D
Triadic 1#AF2D33
Triadic 2#33AF2D
Tetradic#AF2D74

RGB percentages

Red17.6%
Green20.0%
Blue68.6%

CMYK percentages

Cyan74.3%
Magenta70.9%
Yellow0.0%
Key (black)31.4%

Color previews

#2d33af text on a black background

contrast 2.20:1

Card sample

#2d33af text on a white background

contrast 9.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2d33af;
Background color
Panel with #2d33af background
background-color: #2d33af;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(45, 51, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(45, 51, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2d33af;
background: linear-gradient(135deg, #2d33af, #7D2DAF);

Monochromatic scale

Palettes built from #2d33af

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.

#2d33af 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.

#2d33af, answered

What color is #2d33af?

#2d33af is a dark vivid blue, closest to Dark Slate Blue (ΔE2000 7.5). It sits at 237° on the hue wheel with 59% saturation and 43% lightness, which reads as cool.

What is the RGB value of #2d33af?

rgb(45, 51, 175) — 45 red, 51 green and 175 blue out of 255, or 17.6% / 20% / 68.6% by channel.

Is #2d33af a light or a dark color?

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

Should I use black or white text on #2d33af?

White. It scores 9.53:1 against #2d33af, versus 2.20:1 for black — AAA at any size.

What is the complementary color of #2d33af?

#AFA92D sits directly opposite on the wheel. Softer options are the split-complements #AF682D and #74AF2D, which give the same contrast with far less vibration.

What colors go well with #2d33af?

For interface work: #F4F5FA as the surface, #C0C2ED for borders, #4B4E9B for secondary text, #A68026 as an accent and #1A1E65 for hover and pressed states. For a palette, the analogous pair #2D74AF and #682DAF stays calm, while #AFA92D is the loudest partner.

What is #2d33af in CMYK for printing?

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

Is #2d33af warm or cool?

Cool — it scores 85 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #572DAF; nudged cooler, #2B53B1.

Work with #2d33af in the Color Lab