Skip to content

#253ccc

a balanced, vivid blue · warm · closest name: slateblue

RGB
37, 60, 204
HSL
232°, 69%, 47%
CMYK
82, 71, 0, 20
Luminance
0.0798

Every format

HEX#253ccc
RGBrgb(37, 60, 204)
HSLhsl(232, 69%, 47%)
CMYKcmyk(82%, 71%, 0%, 20%)
LABlab(34.0 44.1 -76.0)
LCHlch(34.0 87.8 300.1)
OKLCHoklch(0.449 0.220 267.9)

Copy-ready code

/* CSS */
color: #253ccc;
background-color: #253ccc;
/* Tailwind (arbitrary) */
class="text-[#253ccc] bg-[#253ccc]"
/* SCSS */
$brand: #253ccc;
/* SwiftUI */
Color(red: 0.145, green: 0.235, blue: 0.800)
/* Android */
Color.parseColor("#253ccc")

Accessibility — WCAG contrast

Aa
#253ccc on white: 8.09:1
AA ✓ pass · AA-large · AAA
Aa
#253ccc on black: 2.60:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red14.5%
Green23.5%
Blue80.0%

CMYK percentages

Cyan81.9%
Magenta70.6%
Yellow0.0%
Key (black)20.0%

Color previews

#253ccc text on a black background

contrast 2.60:1

Card sample

#253ccc text on a white background

contrast 8.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #253ccc;
Background color
Panel with #253ccc background
background-color: #253ccc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(37, 60, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(37, 60, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #253ccc;
background: linear-gradient(135deg, #253ccc, #7D25CC);

Monochromatic scale

Palettes built from #253ccc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #253ccc in the Color Lab