Maroon Colors  ·  Color Library

Palettes / Colors / #283FD2

#283FD2 — Blue

#283FD2 is a blue color we call Blue, closest to the named color RoyalBlue (#4169E1). It belongs to the blue family.

Color name

Closest CSS keyword: royalblue (#4169E1) — not an exact match. CSS royalblue gives you #4169E1, a different color; use #283FD2 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#283FD2 is a cool blue color associated with trust, calm and professionalism. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #D2BB28; it also sits naturally between #2894D2 and #6628D2. In the palettes below you can see it working alongside real color combinations from our collection.

#283FD2 · RGB 40, 63, 210

Download PNG swatch SVG

Color values

HEX#283FD2
RGB40, 63, 210
HSL232°, 68%, 49%
HSV232°, 81%, 82%
CMYK81%, 70%, 0%, 18%
XYZ14.29, 8.66, 61.89
Yxy8.66, 0.1684, 0.1021
CIE-Lab35.32, 44.63, -77.19
Hunter Lab29.43, 37.31, -109.77

RGB & CMYK percentages

Red 16% · Green 25% · Blue 82%

Cyan 81% · Magenta 70% · Yellow 0% · Key 18%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #283FD2 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #283FD2 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #283FD2

.text { color: #283FD2; }
.background { background-color: #283FD2; }
.border { border: 3px solid #283FD2; }
.text-rgb { color: rgb(40, 63, 210); }
.text-hsl { color: hsl(232, 68%, 49%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #283FD2; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(40, 63, 210, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #283FD2; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(40, 63, 210, 0.8); }

HTML: <p style="color:#283FD2">Text here</p> · <div style="background-color:#283FD2">Div content here</div>

Shades of #283FD2

#253AC1#2133AB#1D2E9A#192885#162374#121C5E#0F174D#0B1138#070C27#030511

Tints of #283FD2

#3A4FD9#4B5EDD#6072E1#7685E5#8B98E9#9CA7EC#B2BAF0#C7CDF4#D8DDF8#EEF0FC

Tones of #283FD2

#3448C5#4050BA#4C59AE#5962A1#656C95#707489

Color harmonies

Complementary — #D2BB28:

Analogous:

Triadic:

Contrast & accessibility

Against white text7.69:1 AAA
Against black text2.73:1 Fails

Best text color on #283FD2: #FFFFFF.

Semi-transparent (opacity) text on #283FD2

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #283FD2: ·

How #283FD2 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #3232AEDeuteranopia · #312FA6Tritanopia · #29928C

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Material Indigo 500 · #3F51B5Tailwind blue 600 · #2563EBTailwind indigo 600 · #4F46E5

Palettes with a similar color

These palettes use a close neighbour of #283FD2 rather than the exact color:

Palette 0d1a63
#0D1A63 · #1A2CA3 · #2845D6 · #F68048
Golden Ruby Drift
#1968B8 · #2945D9 · #8771E5 · #9D51DF
Frozen Tempest
#64EDDE · #58B3EC · #2439CB · #8752E4
Silent Ruby Canyon
#12B3A9 · #1F90DC · #213BDB · #6C2FEC
Royal Ruby Dusk
#38C11F · #203BC9 · #C6203A · #D2EFC4
Smoky Ruby Petal
#981630 · #67E549 · #2045DC · #EAAAB1

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#2845D6#2945D9#2439CB#213BDB#203BC9#2045DC#3342DB#2A31CE#303AC6#3336CA#1D47DD#1D3AC5

Browse neighbouring colors

← #283FD1  ·  #283FD3 →

Frequently asked questions

What color is #283FD2?

#283FD2 is Blue, a blue color (RGB 40, 63, 210). Its closest standard named color is RoyalBlue.

What is the RGB and HSL of #283FD2?

#283FD2 is RGB 40, 63, 210 — HSL 232°, 68%, 49% — CMYK 81%, 70%, 0%, 18%.

What colors go with #283FD2?

Its complement is #D2BB28; analogous partners are #2894D2 and #6628D2. It also appears in 6+ palettes in our collection.

Can I use #283FD2 for text?

White text on #283FD2 has a contrast ratio of 7.69:1 (passes WCAG AA); black text gives 2.73:1.