#4180DF#4180DF

#4180DF is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.6% C 0.159 H 258.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4180DF
RGBrgb(65, 128, 223)
HSLhsl(216, 71%, 56%)
HSVhsv(216, 71%, 87%)
CMYKcmyk(70.9%, 42.6%, 0%, 12.5%)
CIE-LABlab(53.91, 11.21, -54.35)
CIE-LCHlch(53.91, 55.50, 281.66°)
OKLaboklab(60.59% -0.0315 -0.1554)
OKLCHoklch(60.59% 0.159 258.5)
XYZxyz(23.2136, 21.8874, 72.7990)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4180DF #DFA041
analogous
#41CFDF #4180DF #5141DF
triadic
#4180DF #DF4180 #80DF41
tetradic
#4180DF #DF41CF #DFA041 #41DF51
square
#4180DF #DF41CF #DFA041 #41DF51
split-complementary
#4180DF #DF5141 #CFDF41
monochromatic
#18478E #2161C2 #4180DF #75A3E8 #AAC6F1

Accessibility & contrast

On white

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

On black

5.38
#4180DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4180DF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4180DF#FFFFFF#000000##000000
##4180DF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4180df;
/* rgb */ color: rgb(65, 128, 223);
/* oklch */ color: oklch(60.6% 0.159 258.5);
Tailwind
colors: {
  custom: {
    50: '#88a4e9',
    500: '#4180df',
    950: '#000000',
  },
}
SCSS
$custom: #4180df;
$custom-light: #88a4e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4180df",
  "rgb": {
    "r": 65,
    "g": 128,
    "b": 223
  },
  "hsl": {
    "h": 216.076,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.15856,
    "h": 258.5
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4180DF

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

Preview Lab → · Contrast checker → · Palette generator →

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