Skip to content

#418af2

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

RGB
65, 138, 242
HSL
215°, 87%, 60%
CMYK
73, 43, 0, 5
Luminance
0.2571

At a glance

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

Hex
#418af2
Hue
215°
blue
Saturation
87%
electric
Lightness
60%
balanced
Brightness
95%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2571
WCAG relative
Temperature
Cool
97/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
6.14:1
Closest name
Dodger Blue
ΔE2000 3.3
Where it sits
Hue215° of 360°
Saturation87%
Lightness60%
Temperature
Warm ← → Cool97% 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#418af2
RGBrgb(65, 138, 242)
HSLhsl(215, 87%, 60%)
CMYKcmyk(73%, 43%, 0%, 5%)
LABlab(57.8 11.9 -58.8)
LCHlch(57.8 60.0 281.5)
OKLCHoklch(0.639 0.172 257.7)
Decimal4295410
Display P3color(display-p3 0.255 0.541 0.949)

Copy-ready code

/* CSS */
color: #418af2;
background-color: #418af2;
/* Tailwind (arbitrary) */
class="text-[#418af2] bg-[#418af2]"
/* SCSS */
$brand: #418af2;
/* SwiftUI */
Color(red: 0.255, green: 0.541, blue: 0.949)
/* Android */
Color.parseColor("#418af2")
/* Flutter */
Color(0xFF418AF2)
/* Python / OpenCV (BGR) */
(242, 138, 65)

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

Accessibility — WCAG contrast

Aa
#418af2 on white: 3.42:1
AA ✗ fail · AA-large · AAA
Aa
#418af2 on black: 6.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5694F6
deuteranopia · #3583F0
tritanopia · #00A2B2

Color scale — 50 to 950

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

#F2F6FD
#E5EEFA
#C4D9F7
#96BEF8
#619EF4
#418af2
#1068E5
#0D56BF
#0A4599
#0C356E
#082145
Base = 500Lightest = 50 · #F2F6FDDarkest = 950 · #082145
:root {
  --brand-50: #F2F6FD;
  --brand-100: #E5EEFA;
  --brand-200: #C4D9F7;
  --brand-300: #96BEF8;
  --brand-400: #619EF4;
  --brand-500: #418af2;
  --brand-600: #1068E5;
  --brand-700: #0D56BF;
  --brand-800: #0A4599;
  --brand-900: #0C356E;
  --brand-950: #082145;
  --brand: #418af2;
  --brand-ink: #000000;
}

Colors that work with #418af2

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#F4F7FA
Tinted page background
Border#C0D2ED
Hairlines and dividers
Muted text#4B6C9B
Captions on the surface
Accent#C34809
Second voice, not a rival
Dark variant#083677
Hover, pressed, headers
Light variant#E7F0FD
Selected rows, tints
Dark surface#141B24
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 #418af2

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#F2A941
Analogous left#41E2F2
Analogous right#5141F2
Split-complement 1#F25141
Split-complement 2#E2F241
Triadic 1#F2418A
Triadic 2#8AF241
Tetradic#F241E2

RGB percentages

Red25.5%
Green54.1%
Blue94.9%

CMYK percentages

Cyan73.1%
Magenta43.0%
Yellow0.0%
Key (black)5.1%

Color previews

#418af2 text on a black background

contrast 6.14:1

Card sample

#418af2 text on a white background

contrast 3.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #418af2;
Background color
Panel with #418af2 background
background-color: #418af2;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #418af2;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(65, 138, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 138, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #418af2;
background: linear-gradient(135deg, #418af2, #6E41F2);

Monochromatic scale

Palettes built from #418af2

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.

#418af2 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.

#418af2, answered

What color is #418af2?

#418af2 is a balanced electric blue, closest to Dodger Blue (ΔE2000 3.3). It sits at 215° on the hue wheel with 87% saturation and 60% lightness, which reads as cool.

What is the RGB value of #418af2?

rgb(65, 138, 242) — 65 red, 138 green and 242 blue out of 255, or 25.5% / 54.1% / 94.9% by channel.

Is #418af2 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2571 and perceived brightness is 54%, so black text on it reaches 6.14:1.

Should I use black or white text on #418af2?

Black. It scores 6.14:1 against #418af2, versus 3.42:1 for white — AA at any size.

What is the complementary color of #418af2?

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

What colors go well with #418af2?

For interface work: #F4F7FA as the surface, #C0D2ED for borders, #4B6C9B for secondary text, #C34809 as an accent and #083677 for hover and pressed states. For a palette, the analogous pair #41E2F2 and #5141F2 stays calm, while #F2A941 is the loudest partner.

What is #418af2 in CMYK for printing?

cmyk(73%, 43%, 0%, 5%). 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 #418af2 warm or cool?

Cool — it scores 97 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #4149F2; nudged cooler, #2781F3.

Work with #418af2 in the Color Lab