Skip to content

#2833cd

a balanced, vivid blue · cool · closest name: Blue

RGB
40, 51, 205
HSL
236°, 67%, 48%
CMYK
81, 75, 0, 20
Luminance
0.0723

At a glance

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

Hex
#2833cd
Hue
236°
blue
Saturation
67%
vivid
Lightness
48%
balanced
Brightness
80%
HSV value
Perceived
32%
weighted brightness
Luminance
0.0723
WCAG relative
Temperature
Cool
86/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
8.59:1
Closest name
Blue
ΔE2000 6.8
Where it sits
Hue236° of 360°
Saturation67%
Lightness48%
Temperature
Warm ← → Cool86% 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#2833cd
RGBrgb(40, 51, 205)
HSLhsl(236, 67%, 48%)
CMYKcmyk(81%, 75%, 0%, 20%)
LABlab(32.3 49.9 -79.3)
LCHlch(32.3 93.6 302.2)
OKLCHoklch(0.438 0.230 269.3)
Decimal2634701
Display P3color(display-p3 0.157 0.200 0.804)

Copy-ready code

/* CSS */
color: #2833cd;
background-color: #2833cd;
/* Tailwind (arbitrary) */
class="text-[#2833cd] bg-[#2833cd]"
/* SCSS */
$brand: #2833cd;
/* SwiftUI */
Color(red: 0.157, green: 0.200, blue: 0.804)
/* Android */
Color.parseColor("#2833cd")
/* Flutter */
Color(0xFF2833CD)
/* Python / OpenCV (BGR) */
(205, 51, 40)

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

Accessibility — WCAG contrast

Aa
#2833cd on white: 8.59:1
AA ✓ pass · AA-large · AAA
Aa
#2833cd on black: 2.45:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0054D1
deuteranopia · #0044CA
tritanopia · #00617E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #2833cd is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F3F4FB
#E8E9F8
#CACDF1
#A1A6ED
#727AE3
#434DDA
#2833cd
#212BAB
#1B2289
#171C63
#0F123E
Base = 600Lightest = 50 · #F3F4FBDarkest = 950 · #0F123E
:root {
  --brand-50: #F3F4FB;
  --brand-100: #E8E9F8;
  --brand-200: #CACDF1;
  --brand-300: #A1A6ED;
  --brand-400: #727AE3;
  --brand-500: #434DDA;
  --brand-600: #2833cd;
  --brand-700: #212BAB;
  --brand-800: #1B2289;
  --brand-900: #171C63;
  --brand-950: #0F123E;
  --brand: #2833cd;
  --brand-ink: #ffffff;
}

Colors that work with #2833cd

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#C0C3ED
Hairlines and dividers
Muted text#4B509B
Captions on the surface
Accent#AF801D
Second voice, not a rival
Dark variant#151B6B
Hover, pressed, headers
Light variant#EAEBFB
Selected rows, tints
Dark surface#141524
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 #2833cd

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
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • Full-page backgrounds — tiring over long sessions
  • 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#CDC228
Analogous left#2885CD
Analogous right#6F28CD
Split-complement 1#CD6F28
Split-complement 2#85CD28
Triadic 1#CD2833
Triadic 2#33CD28
Tetradic#CD2885

RGB percentages

Red15.7%
Green20.0%
Blue80.4%

CMYK percentages

Cyan80.5%
Magenta75.1%
Yellow0.0%
Key (black)19.6%

Color previews

#2833cd text on a black background

contrast 2.45:1

Card sample

#2833cd text on a white background

contrast 8.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2833cd;
Background color
Panel with #2833cd background
background-color: #2833cd;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(40, 51, 205, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(40, 51, 205, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2833cd;
background: linear-gradient(135deg, #2833cd, #8B28CD);

Monochromatic scale

Palettes built from #2833cd

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.

#2833cd 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.

#2833cd, answered

What color is #2833cd?

#2833cd is a balanced vivid blue, closest to Blue (ΔE2000 6.8). It sits at 236° on the hue wheel with 67% saturation and 48% lightness, which reads as cool.

What is the RGB value of #2833cd?

rgb(40, 51, 205) — 40 red, 51 green and 205 blue out of 255, or 15.7% / 20% / 80.4% by channel.

Is #2833cd a light or a dark color?

It is a dark color. Relative luminance is 0.0723 and perceived brightness is 32%, so white text on it reaches 8.59:1.

Should I use black or white text on #2833cd?

White. It scores 8.59:1 against #2833cd, versus 2.45:1 for black — AAA at any size.

What is the complementary color of #2833cd?

#CDC228 sits directly opposite on the wheel. Softer options are the split-complements #CD6F28 and #85CD28, which give the same contrast with far less vibration.

What colors go well with #2833cd?

For interface work: #F4F5FA as the surface, #C0C3ED for borders, #4B509B for secondary text, #AF801D as an accent and #151B6B for hover and pressed states. For a palette, the analogous pair #2885CD and #6F28CD stays calm, while #CDC228 is the loudest partner.

What is #2833cd in CMYK for printing?

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

Is #2833cd warm or cool?

Cool — it scores 86 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #5928CD; nudged cooler, #2656CF.

Work with #2833cd in the Color Lab