#4180E0#4180E0

#4180E0 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.7% C 0.160 H 258.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#4180E0
RGBrgb(65, 128, 224)
HSLhsl(216, 72%, 57%)
HSVhsv(216, 71%, 88%)
CMYKcmyk(71%, 42.9%, 0%, 12.2%)
CIE-LABlab(53.96, 11.57, -54.82)
CIE-LCHlch(53.96, 56.03, 281.92°)
OKLaboklab(60.66% -0.0313 -0.1568)
OKLCHoklch(60.66% 0.16 258.7)
XYZxyz(23.3488, 21.9415, 73.5112)
Luminance0.2194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180E0 #E0A141
analogous
#41D0E0 #4180E0 #5141E0
triadic
#4180E0 #E04180 #80E041
tetradic
#4180E0 #E041D0 #E0A141 #41E051
square
#4180E0 #E041D0 #E0A141 #41E051
split-complementary
#4180E0 #E05141 #D0E041
monochromatic
#17478F #2061C4 #4180E0 #76A3E9 #AAC6F1

Accessibility & contrast

On white

3.90
#4180E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#4180E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180E0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180E0#FFFFFF#000000##000000
##4180E01.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5189E4
Deuteranopia (green-blind)
#357ADE
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4180e0;
/* rgb */ color: rgb(65, 128, 224);
/* oklch */ color: oklch(60.7% 0.160 258.7);
Tailwind
colors: {
  custom: {
    50: '#88a4ea',
    500: '#4180e0',
    950: '#000000',
  },
}
SCSS
$custom: #4180e0;
$custom-light: #88a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4180e0",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 224
  },
  "hsl": {
    "h": 216.226,
    "s": 71.946,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.15987,
    "h": 258.7
  },
  "luminance": 0.21944
}

Semantic roles & 50–950 ramp

primary
#4180E0
secondary
#DFC59E
accent
#A739EF
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4180E0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4180E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva