Skip to content

#235dd8

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

RGB
35, 93, 216
HSL
221°, 72%, 49%
CMYK
84, 57, 0, 15
Luminance
0.1314

At a glance

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

Hex
#235dd8
Hue
221°
blue
Saturation
72%
vivid
Lightness
49%
balanced
Brightness
85%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1314
WCAG relative
Temperature
Cool
94/100 cool
Color family
Blue
Tone
Vivid
Best ink
White
5.79:1
Closest name
Royal Blue
ΔE2000 4.7
Where it sits
Hue221° of 360°
Saturation72%
Lightness49%
Temperature
Warm ← → Cool94% 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#235dd8
RGBrgb(35, 93, 216)
HSLhsl(221, 72%, 49%)
CMYKcmyk(84%, 57%, 0%, 15%)
LABlab(43.0 27.5 -68.1)
LCHlch(43.0 73.4 292.0)
OKLCHoklch(0.518 0.199 262.6)
Decimal2317784
Display P3color(display-p3 0.137 0.365 0.847)

Copy-ready code

/* CSS */
color: #235dd8;
background-color: #235dd8;
/* Tailwind (arbitrary) */
class="text-[#235dd8] bg-[#235dd8]"
/* SCSS */
$brand: #235dd8;
/* SwiftUI */
Color(red: 0.137, green: 0.365, blue: 0.847)
/* Android */
Color.parseColor("#235dd8")
/* Flutter */
Color(0xFF235DD8)
/* Python / OpenCV (BGR) */
(216, 93, 35)

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 #235dd8 · 5.79:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.79:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.63:1
AA fail · AA large pass · AAA fail
Reading the other direction: #235dd8 as text scores 5.79:1 on white and 3.63:1 on black.

Accessibility — WCAG contrast

Aa
#235dd8 on white: 5.79:1
AA ✓ pass · AA-large · AAA
Aa
#235dd8 on black: 3.63:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006EDC
deuteranopia · #005ED6
tritanopia · #007C91

Color scale — 50 to 950

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

#F3F6FC
#E7EDF8
#C9D6F3
#9EB8EF
#6E95E8
#3E72E0
#235dd8
#1C4CB0
#173C8C
#152F66
#0D1D40
Base = 600Lightest = 50 · #F3F6FCDarkest = 950 · #0D1D40
:root {
  --brand-50: #F3F6FC;
  --brand-100: #E7EDF8;
  --brand-200: #C9D6F3;
  --brand-300: #9EB8EF;
  --brand-400: #6E95E8;
  --brand-500: #3E72E0;
  --brand-600: #235dd8;
  --brand-700: #1C4CB0;
  --brand-800: #173C8C;
  --brand-900: #152F66;
  --brand-950: #0D1D40;
  --brand: #235dd8;
  --brand-ink: #ffffff;
}

Colors that work with #235dd8

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#C0CEED
Hairlines and dividers
Muted text#4B649B
Captions on the surface
Accent#DD701E
Second voice, not a rival
Dark variant#122F6E
Hover, pressed, headers
Light variant#E9EFFB
Selected rows, tints
Dark surface#141924
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 #235dd8

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
  • 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#D89E23
Analogous left#23B7D8
Analogous right#4423D8
Split-complement 1#D84423
Split-complement 2#B7D823
Triadic 1#D8235D
Triadic 2#5DD823
Tetradic#D823B7

RGB percentages

Red13.7%
Green36.5%
Blue84.7%

CMYK percentages

Cyan83.8%
Magenta56.9%
Yellow0.0%
Key (black)15.3%

Color previews

#235dd8 text on a black background

contrast 3.63:1

Card sample

#235dd8 text on a white background

contrast 5.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #235dd8;
Background color
Panel with #235dd8 background
background-color: #235dd8;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(35, 93, 216, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(35, 93, 216, 0.45);
Border & gradient
Gradient panel
border: 3px solid #235dd8;
background: linear-gradient(135deg, #235dd8, #6223D8);

Monochromatic scale

Palettes built from #235dd8

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.

#235dd8 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.

#235dd8, answered

What color is #235dd8?

#235dd8 is a balanced vivid blue, closest to Royal Blue (ΔE2000 4.7). It sits at 221° on the hue wheel with 72% saturation and 49% lightness, which reads as cool.

What is the RGB value of #235dd8?

rgb(35, 93, 216) — 35 red, 93 green and 216 blue out of 255, or 13.7% / 36.5% / 84.7% by channel.

Is #235dd8 a light or a dark color?

It is a dark color. Relative luminance is 0.1314 and perceived brightness is 41%, so white text on it reaches 5.79:1.

Should I use black or white text on #235dd8?

White. It scores 5.79:1 against #235dd8, versus 3.63:1 for black — AA at any size.

What is the complementary color of #235dd8?

#D89E23 sits directly opposite on the wheel. Softer options are the split-complements #D84423 and #B7D823, which give the same contrast with far less vibration.

What colors go well with #235dd8?

For interface work: #F4F6FA as the surface, #C0CEED for borders, #4B649B for secondary text, #DD701E as an accent and #122F6E for hover and pressed states. For a palette, the analogous pair #23B7D8 and #4423D8 stays calm, while #D89E23 is the loudest partner.

What is #235dd8 in CMYK for printing?

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

Is #235dd8 warm or cool?

Cool — it scores 94 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #2B23D8; nudged cooler, #1D60C4.

Work with #235dd8 in the Color Lab