#4180D9#4180D9

#4180D9 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.2% C 0.151 H 257.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4180D9
RGBrgb(65, 128, 217)
HSLhsl(215, 67%, 55%)
HSVhsv(215, 70%, 85%)
CMYKcmyk(70%, 41%, 0%, 14.9%)
CIE-LABlab(53.57, 9.07, -51.52)
CIE-LCHlch(53.57, 52.32, 279.99°)
OKLaboklab(60.22% -0.0327 -0.1471)
OKLCHoklch(60.22% 0.151 257.5)
XYZxyz(22.4190, 21.5695, 68.6140)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180D9 #D99A41
analogous
#41CCD9 #4180D9 #4E41D9
triadic
#4180D9 #D94180 #80D941
tetradic
#4180D9 #D941CC #D99A41 #41D94E
square
#4180D9 #D941CC #D99A41 #41D94E
split-complementary
#4180D9 #D94E41 #CCD941
monochromatic
#1B4785 #2562B8 #4180D9 #74A2E3 #A7C4ED

Accessibility & contrast

On white

3.95
#4180D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4180D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180D9
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180D9#FFFFFF#000000##000000
##4180D91.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5688DC
Deuteranopia (green-blind)
#3D79D7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4180d9;
/* rgb */ color: rgb(65, 128, 217);
/* oklch */ color: oklch(60.2% 0.151 257.5);
Tailwind
colors: {
  custom: {
    50: '#87a4e5',
    500: '#4180d9',
    950: '#000000',
  },
}
SCSS
$custom: #4180d9;
$custom-light: #87a4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4180d9",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 217
  },
  "hsl": {
    "h": 215.132,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6022,
    "c": 0.15068,
    "h": 257.5
  },
  "luminance": 0.21572
}

Semantic roles & 50–950 ramp

primary
#4180D9
secondary
#DBC09B
accent
#A33EEA
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #4180D9

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

Preview Lab → · Contrast checker → · Palette generator →

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