Skip to content

#3368eb

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

RGB
51, 104, 235
HSL
223°, 82%, 56%
CMYK
78, 56, 0, 8
Luminance
0.1660

At a glance

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

Hex
#3368eb
Hue
223°
blue
Saturation
82%
electric
Lightness
56%
balanced
Brightness
92%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1660
WCAG relative
Temperature
Cool
93/100 cool
Color family
Blue
Tone
Electric
Best ink
White
4.86:1
Closest name
Royal Blue
ΔE2000 1.4
Where it sits
Hue223° of 360°
Saturation82%
Lightness56%
Temperature
Warm ← → Cool93% 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#3368eb
RGBrgb(51, 104, 235)
HSLhsl(223, 82%, 56%)
CMYKcmyk(78%, 56%, 0%, 8%)
LABlab(47.8 28.9 -71.0)
LCHlch(47.8 76.7 292.2)
OKLCHoklch(0.560 0.206 264.1)
Decimal3369195
Display P3color(display-p3 0.200 0.408 0.922)

Copy-ready code

/* CSS */
color: #3368eb;
background-color: #3368eb;
/* Tailwind (arbitrary) */
class="text-[#3368eb] bg-[#3368eb]"
/* SCSS */
$brand: #3368eb;
/* SwiftUI */
Color(red: 0.200, green: 0.408, blue: 0.922)
/* Android */
Color.parseColor("#3368eb")
/* Flutter */
Color(0xFF3368EB)
/* Python / OpenCV (BGR) */
(235, 104, 51)

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

Accessibility — WCAG contrast

Aa
#3368eb on white: 4.86:1
AA ✓ pass · AA-large · AAA
Aa
#3368eb on black: 4.32:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #007AEF
deuteranopia · #0069E8
tritanopia · #00899F

Color scale — 50 to 950

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

#F2F5FC
#E6ECFA
#C6D4F6
#99B3F5
#668EF0
#3368eb
#1650DF
#1243BA
#0F3595
#0F2A6B
#091A43
Base = 500Lightest = 50 · #F2F5FCDarkest = 950 · #091A43
:root {
  --brand-50: #F2F5FC;
  --brand-100: #E6ECFA;
  --brand-200: #C6D4F6;
  --brand-300: #99B3F5;
  --brand-400: #668EF0;
  --brand-500: #3368eb;
  --brand-600: #1650DF;
  --brand-700: #1243BA;
  --brand-800: #0F3595;
  --brand-900: #0F2A6B;
  --brand-950: #091A43;
  --brand: #3368eb;
  --brand-ink: #ffffff;
}

Colors that work with #3368eb

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#C0CDED
Hairlines and dividers
Muted text#4B629B
Captions on the surface
Accent#BD600F
Second voice, not a rival
Dark variant#0B2A74
Hover, pressed, headers
Light variant#E8EEFD
Selected rows, tints
Dark surface#141824
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 #3368eb

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#EBB633
Analogous left#33C4EB
Analogous right#5A33EB
Split-complement 1#EB5A33
Split-complement 2#C4EB33
Triadic 1#EB3368
Triadic 2#68EB33
Tetradic#EB33C4

RGB percentages

Red20.0%
Green40.8%
Blue92.2%

CMYK percentages

Cyan78.3%
Magenta55.7%
Yellow0.0%
Key (black)7.8%

Color previews

#3368eb text on a black background

contrast 4.32:1

Card sample

#3368eb text on a white background

contrast 4.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3368eb;
Background color
Panel with #3368eb background
background-color: #3368eb;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(51, 104, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 104, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3368eb;
background: linear-gradient(135deg, #3368eb, #7933EB);

Monochromatic scale

Palettes built from #3368eb

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.

#3368eb 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.

#3368eb, answered

What color is #3368eb?

#3368eb is a balanced electric blue, closest to Royal Blue (ΔE2000 1.4). It sits at 223° on the hue wheel with 82% saturation and 56% lightness, which reads as cool.

What is the RGB value of #3368eb?

rgb(51, 104, 235) — 51 red, 104 green and 235 blue out of 255, or 20% / 40.8% / 92.2% by channel.

Is #3368eb a light or a dark color?

It is a dark color. Relative luminance is 0.1660 and perceived brightness is 45%, so white text on it reaches 4.86:1.

Should I use black or white text on #3368eb?

White. It scores 4.86:1 against #3368eb, versus 4.32:1 for black — AA at any size.

What is the complementary color of #3368eb?

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

What colors go well with #3368eb?

For interface work: #F4F6FA as the surface, #C0CDED for borders, #4B629B for secondary text, #BD600F as an accent and #0B2A74 for hover and pressed states. For a palette, the analogous pair #33C4EB and #5A33EB stays calm, while #EBB633 is the loudest partner.

What is #3368eb in CMYK for printing?

cmyk(78%, 56%, 0%, 8%). 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 #3368eb warm or cool?

Cool — it scores 93 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4233EB; nudged cooler, #1969EB.

Work with #3368eb in the Color Lab