#4182DE#4182DE

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

Color values

HEX#4182DE
RGBrgb(65, 130, 222)
HSLhsl(215, 70%, 56%)
HSVhsv(215, 71%, 87%)
CMYKcmyk(70.7%, 41.4%, 0%, 12.9%)
CIE-LABlab(54.41, 9.64, -52.99)
CIE-LCHlch(54.41, 53.86, 280.31°)
OKLaboklab(60.96% -0.0335 -0.1514)
OKLCHoklch(60.96% 0.155 257.5)
XYZxyz(23.3426, 22.3605, 72.1789)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4182DE #DE9D41
analogous
#41D1DE #4182DE #4F41DE
triadic
#4182DE #DE4182 #82DE41
tetradic
#4182DE #DE41D1 #DE9D41 #41DE4F
square
#4182DE #DE41D1 #DE9D41 #41DE4F
split-complementary
#4182DE #DE4F41 #D1DE41
monochromatic
#18488C #2163C0 #4182DE #75A4E7 #A9C7F0

Accessibility & contrast

On white

3.84
#4182DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4182DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4182DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4182DE#FFFFFF#000000##000000
##4182DE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE2
Deuteranopia (green-blind)
#3C7BDC
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4182de;
/* rgb */ color: rgb(65, 130, 222);
/* oklch */ color: oklch(61.0% 0.155 257.5);
Tailwind
colors: {
  custom: {
    50: '#88a5e9',
    500: '#4182de',
    950: '#000000',
  },
}
SCSS
$custom: #4182de;
$custom-light: #88a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4182de",
  "rgb": {
    "r": 65,
    "g": 130,
    "b": 222
  },
  "hsl": {
    "h": 215.159,
    "s": 70.404,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60962,
    "c": 0.15504,
    "h": 257.5
  },
  "luminance": 0.22363
}

Semantic roles & 50–950 ramp

primary
#4182DE
secondary
#DEC39D
accent
#A33BED
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4182DE

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

Preview Lab → · Contrast checker → · Palette generator →

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