#4182EA#4182EA

#4182EA is a mid, vivid blue. Relative luminance 0.230; OKLCH L 61.7% C 0.171 H 259.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4182EA
RGBrgb(65, 130, 234)
HSLhsl(217, 80%, 59%)
HSVhsv(217, 72%, 92%)
CMYKcmyk(72.2%, 44.4%, 0%, 8.2%)
CIE-LABlab(55.10, 13.93, -58.60)
CIE-LCHlch(55.10, 60.23, 283.37°)
OKLaboklab(61.72% -0.0312 -0.1678)
OKLCHoklch(61.72% 0.171 259.5)
XYZxyz(25.0085, 23.0269, 80.9526)
Luminance0.2303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4182EA #EAA941
analogous
#41D6EA #4182EA #5441EA
triadic
#4182EA #EA4182 #82EA41
tetradic
#4182EA #EA41D6 #EAA941 #41EA54
square
#4182EA #EA41D6 #EAA941 #41EA54
split-complementary
#4182EA #EA5441 #D6EA41
monochromatic
#12489F #1861D6 #4182EA #78A6F0 #AFCBF6

Accessibility & contrast

On white

3.75
#4182EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#4182EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4182EA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4182EA#FFFFFF#000000##000000
##4182EA1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#2B7DE8
Tritanopia (blue-blind)
#009AAB
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4182ea;
/* rgb */ color: rgb(65, 130, 234);
/* oklch */ color: oklch(61.7% 0.171 259.5);
Tailwind
colors: {
  custom: {
    50: '#8aa5f1',
    500: '#4182ea',
    950: '#000000',
  },
}
SCSS
$custom: #4182ea;
$custom-light: #8aa5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4182ea",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 216.923,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61722,
    "c": 0.17072,
    "h": 259.5
  },
  "luminance": 0.2303
}

Semantic roles & 50–950 ramp

primary
#4182EA
secondary
#E5CBA2
accent
#AB31F7
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0D0F17
muted
#7E7F85

Preview Lab

Preview with #4182EA

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

Preview Lab → · Contrast checker → · Palette generator →

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