#4182DF#4182DF

#4182DF is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.0% C 0.156 H 257.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4182DF
RGBrgb(65, 130, 223)
HSLhsl(215, 71%, 56%)
HSVhsv(215, 71%, 87%)
CMYKcmyk(70.9%, 41.7%, 0%, 12.5%)
CIE-LABlab(54.46, 9.99, -53.47)
CIE-LCHlch(54.46, 54.39, 280.59°)
OKLaboklab(61.02% -0.0333 -0.1527)
OKLCHoklch(61.02% 0.156 257.7)
XYZxyz(23.4770, 22.4143, 72.8868)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4182DF #DF9E41
analogous
#41D1DF #4182DF #4F41DF
triadic
#4182DF #DF4182 #82DF41
tetradic
#4182DF #DF41D1 #DF9E41 #41DF4F
square
#4182DF #DF41D1 #DF9E41 #41DF4F
split-complementary
#4182DF #DF4F41 #D1DF41
monochromatic
#18488E #2163C2 #4182DF #75A4E8 #AAC7F1

Accessibility & contrast

On white

3.83
#4182DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4182DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4182DF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4182DF#FFFFFF#000000##000000
##4182DF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#3B7CDD
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4182df;
/* rgb */ color: rgb(65, 130, 223);
/* oklch */ color: oklch(61.0% 0.156 257.7);
Tailwind
colors: {
  custom: {
    50: '#88a5e9',
    500: '#4182df',
    950: '#000000',
  },
}
SCSS
$custom: #4182df;
$custom-light: #88a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4182df",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 223
  },
  "hsl": {
    "h": 215.316,
    "s": 71.171,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61024,
    "c": 0.15634,
    "h": 257.7
  },
  "luminance": 0.22417
}

Semantic roles & 50–950 ramp

primary
#4182DF
secondary
#DEC49D
accent
#A43AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4182DF

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

Preview Lab → · Contrast checker → · Palette generator →

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