#4182E2#4182E2

#4182E2 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.2% C 0.160 H 258.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4182E2
RGBrgb(65, 130, 226)
HSLhsl(216, 74%, 57%)
HSVhsv(216, 71%, 89%)
CMYKcmyk(71.2%, 42.5%, 0%, 11.4%)
CIE-LABlab(54.63, 11.07, -54.87)
CIE-LCHlch(54.63, 55.98, 281.40°)
OKLaboklab(61.21% -0.0327 -0.1569)
OKLCHoklch(61.21% 0.16 258.2)
XYZxyz(23.8851, 22.5775, 75.0359)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4182E2 #E2A141
analogous
#41D3E2 #4182E2 #5041E2
triadic
#4182E2 #E24182 #82E241
tetradic
#4182E2 #E241D3 #E2A141 #41E250
square
#4182E2 #E241D3 #E2A141 #41E250
split-complementary
#4182E2 #E25041 #D3E241
monochromatic
#164892 #1E63C7 #4182E2 #76A5EA #ABC8F2

Accessibility & contrast

On white

3.81
#4182E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4182E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4182E2
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4182E2#FFFFFF#000000##000000
##4182E21.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#538BE6
Deuteranopia (green-blind)
#377CE0
Tritanopia (blue-blind)
#0098A7
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4182e2;
/* rgb */ color: rgb(65, 130, 226);
/* oklch */ color: oklch(61.2% 0.160 258.2);
Tailwind
colors: {
  custom: {
    50: '#88a5ec',
    500: '#4182e2',
    950: '#000000',
  },
}
SCSS
$custom: #4182e2;
$custom-light: #88a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4182e2",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 226
  },
  "hsl": {
    "h": 215.776,
    "s": 73.516,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61212,
    "c": 0.16027,
    "h": 258.2
  },
  "luminance": 0.2258
}

Semantic roles & 50–950 ramp

primary
#4182E2
secondary
#E0C69F
accent
#A638F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4182E2

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

Preview Lab → · Contrast checker → · Palette generator →

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