#4180DE#4180DE

#4180DE is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.5% C 0.157 H 258.4°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#4180DE
RGBrgb(65, 128, 222)
HSLhsl(216, 70%, 56%)
HSVhsv(216, 71%, 87%)
CMYKcmyk(70.7%, 42.3%, 0%, 12.9%)
CIE-LABlab(53.85, 10.86, -53.88)
CIE-LCHlch(53.85, 54.97, 281.39°)
OKLaboklab(60.53% -0.0317 -0.154)
OKLCHoklch(60.53% 0.157 258.4)
XYZxyz(23.0792, 21.8336, 72.0911)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180DE #DE9F41
analogous
#41CEDE #4180DE #5141DE
triadic
#4180DE #DE4180 #80DE41
tetradic
#4180DE #DE41CE #DE9F41 #41DE51
square
#4180DE #DE41CE #DE9F41 #41DE51
split-complementary
#4180DE #DE5141 #CEDE41
monochromatic
#18478C #2161C0 #4180DE #75A3E7 #A9C6F0

Accessibility & contrast

On white

3.91
#4180DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#4180DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180DE
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180DE#FFFFFF#000000##000000
##4180DE1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5389E2
Deuteranopia (green-blind)
#377ADC
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4180de;
/* rgb */ color: rgb(65, 128, 222);
/* oklch */ color: oklch(60.5% 0.157 258.4);
Tailwind
colors: {
  custom: {
    50: '#88a4e9',
    500: '#4180de',
    950: '#000000',
  },
}
SCSS
$custom: #4180de;
$custom-light: #88a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4180de",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 222
  },
  "hsl": {
    "h": 215.924,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6053,
    "c": 0.15724,
    "h": 258.4
  },
  "luminance": 0.21836
}

Semantic roles & 50–950 ramp

primary
#4180DE
secondary
#DEC49D
accent
#A63BED
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4180DE

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

Preview Lab → · Contrast checker → · Palette generator →

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