#4180E3#4180E3

#4180E3 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.164 H 259.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4180E3
RGBrgb(65, 128, 227)
HSLhsl(217, 74%, 57%)
HSVhsv(217, 71%, 89%)
CMYKcmyk(71.4%, 43.6%, 0%, 11%)
CIE-LABlab(54.14, 12.65, -56.23)
CIE-LCHlch(54.14, 57.63, 282.68°)
OKLaboklab(60.85% -0.0308 -0.1609)
OKLCHoklch(60.85% 0.164 259.2)
XYZxyz(23.7593, 22.1056, 75.6728)
Luminance0.2211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180E3 #E3A441
analogous
#41D1E3 #4180E3 #5341E3
triadic
#4180E3 #E34180 #80E341
tetradic
#4180E3 #E341D1 #E3A441 #41E353
square
#4180E3 #E341D1 #E3A441 #41E353
split-complementary
#4180E3 #E35341 #D1E341
monochromatic
#164794 #1E60C9 #4180E3 #76A4EB #ACC7F3

Accessibility & contrast

On white

3.87
#4180E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4180E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180E3
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180E3#FFFFFF#000000##000000
##4180E31.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E7
Deuteranopia (green-blind)
#307BE1
Tritanopia (blue-blind)
#0097A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4180e3;
/* rgb */ color: rgb(65, 128, 227);
/* oklch */ color: oklch(60.8% 0.164 259.2);
Tailwind
colors: {
  custom: {
    50: '#89a4ec',
    500: '#4180e3',
    950: '#000000',
  },
}
SCSS
$custom: #4180e3;
$custom-light: #89a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4180e3",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 227
  },
  "hsl": {
    "h": 216.667,
    "s": 74.312,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.16382,
    "h": 259.2
  },
  "luminance": 0.22108
}

Semantic roles & 50–950 ramp

primary
#4180E3
secondary
#E1C79F
accent
#A937F1
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4180E3

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

Preview Lab → · Contrast checker → · Palette generator →

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