Skip to content

#3398ac

a dark, vivid cyan · cool · closest name: Cadet Blue

RGB
51, 152, 172
HSL
190°, 54%, 44%
CMYK
70, 12, 0, 33
Luminance
0.2614

At a glance

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

Hex
#3398ac
Hue
190°
cyan
Saturation
54%
vivid
Lightness
44%
dark
Brightness
67%
HSV value
Perceived
52%
weighted brightness
Luminance
0.2614
WCAG relative
Temperature
Cool
92/100 cool
Color family
Cyan
Tone
Vivid
Best ink
Black
6.23:1
Closest name
Cadet Blue
ΔE2000 7.4
Where it sits
Hue190° of 360°
Saturation54%
Lightness44%
Temperature
Warm ← → Cool92% 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#3398ac
RGBrgb(51, 152, 172)
HSLhsl(190, 54%, 44%)
CMYKcmyk(70%, 12%, 0%, 33%)
LABlab(58.2 -22.1 -18.9)
LCHlch(58.2 29.1 220.5)
OKLCHoklch(0.631 0.095 213.6)
Decimal3381420
Display P3color(display-p3 0.200 0.596 0.675)

Copy-ready code

/* CSS */
color: #3398ac;
background-color: #3398ac;
/* Tailwind (arbitrary) */
class="text-[#3398ac] bg-[#3398ac]"
/* SCSS */
$brand: #3398ac;
/* SwiftUI */
Color(red: 0.200, green: 0.596, blue: 0.675)
/* Android */
Color.parseColor("#3398ac")
/* Flutter */
Color(0xFF3398AC)
/* Python / OpenCV (BGR) */
(172, 152, 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#000000 on #3398ac · 6.23:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.37:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.23:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #3398ac as text scores 3.37:1 on white and 6.23:1 on black.

Accessibility — WCAG contrast

Aa
#3398ac on white: 3.37:1
AA ✗ fail · AA-large · AAA
Aa
#3398ac on black: 6.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8993AD
deuteranopia · #7886AC
tritanopia · #00A09E

Color scale — 50 to 950

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

#F4FAFB
#E9F4F6
#CEE8EE
#A8DBE5
#7DC9D9
#52B8CC
#38A7BD
#3398ac
#256F7E
#1F525C
#133339
Base = 700Lightest = 50 · #F4FAFBDarkest = 950 · #133339
:root {
  --brand-50: #F4FAFB;
  --brand-100: #E9F4F6;
  --brand-200: #CEE8EE;
  --brand-300: #A8DBE5;
  --brand-400: #7DC9D9;
  --brand-500: #52B8CC;
  --brand-600: #38A7BD;
  --brand-700: #3398ac;
  --brand-800: #256F7E;
  --brand-900: #1F525C;
  --brand-950: #133339;
  --brand: #3398ac;
  --brand-ink: #000000;
}

Colors that work with #3398ac

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F4F9FA
Tinted page background
Border#C0E5EC
Hairlines and dividers
Muted text#4B8E9B
Captions on the surface
Accent#B02E3A
Second voice, not a rival
Dark variant#1D5762
Hover, pressed, headers
Light variant#EBF7F9
Selected rows, tints
Dark surface#142224
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 #3398ac

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • 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
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Black text placed on it
  • Thin strokes and 1px borders — they disappear on light UI
  • 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#AC4733
Analogous left#33AC83
Analogous right#335BAC
Split-complement 1#AC335B
Split-complement 2#AC8333
Triadic 1#AC3398
Triadic 2#98AC33
Tetradic#8333AC

RGB percentages

Red20.0%
Green59.6%
Blue67.5%

CMYK percentages

Cyan70.3%
Magenta11.6%
Yellow0.0%
Key (black)32.5%

Color previews

#3398ac text on a black background

contrast 6.23:1

Card sample

#3398ac text on a white background

contrast 3.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3398ac;
Background color
Panel with #3398ac background
background-color: #3398ac;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(51, 152, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 152, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3398ac;
background: linear-gradient(135deg, #3398ac, #3347AC);

Monochromatic scale

Palettes built from #3398ac

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.

#3398ac in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyTravelHealthcareMedia
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#3398ac, answered

What color is #3398ac?

#3398ac is a dark vivid cyan, closest to Cadet Blue (ΔE2000 7.4). It sits at 190° on the hue wheel with 54% saturation and 44% lightness, which reads as cool.

What is the RGB value of #3398ac?

rgb(51, 152, 172) — 51 red, 152 green and 172 blue out of 255, or 20% / 59.6% / 67.5% by channel.

Is #3398ac a light or a dark color?

It is a mid-tone. Relative luminance is 0.2614 and perceived brightness is 52%, so black text on it reaches 6.23:1.

Should I use black or white text on #3398ac?

Black. It scores 6.23:1 against #3398ac, versus 3.37:1 for white — AA at any size.

What is the complementary color of #3398ac?

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

What colors go well with #3398ac?

For interface work: #F4F9FA as the surface, #C0E5EC for borders, #4B8E9B for secondary text, #B02E3A as an accent and #1D5762 for hover and pressed states. For a palette, the analogous pair #33AC83 and #335BAC stays calm, while #AC4733 is the loudest partner.

What is #3398ac in CMYK for printing?

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

Is #3398ac warm or cool?

Cool — it scores 92 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #33AC94; nudged cooler, #317DAE.

Work with #3398ac in the Color Lab