#4282DC#4282DC

#4282DC is a mid, vivid blue. Relative luminance 0.223; OKLCH L 60.9% C 0.152 H 257.4°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4282DC
RGBrgb(66, 130, 220)
HSLhsl(215, 69%, 56%)
HSVhsv(215, 70%, 86%)
CMYKcmyk(70%, 40.9%, 0%, 13.7%)
CIE-LABlab(54.33, 9.07, -51.99)
CIE-LCHlch(54.33, 52.78, 279.89°)
OKLaboklab(60.88% -0.0332 -0.1484)
OKLCHoklch(60.88% 0.152 257.4)
XYZxyz(23.1430, 22.2884, 70.7787)
Luminance0.2229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4282DC #DC9C42
analogous
#42CFDC #4282DC #4F42DC
triadic
#4282DC #DC4282 #82DC42
tetradic
#4282DC #DC42CF #DC9C42 #42DC4F
square
#4282DC #DC42CF #DC9C42 #42DC4F
split-complementary
#4282DC #DC4F42 #CFDC42
monochromatic
#1A488A #2363BE #4282DC #76A4E6 #A9C6EF

Accessibility & contrast

On white

3.85
#4282DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4282DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4282DC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4282DC#FFFFFF#000000##000000
##4282DC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE0
Deuteranopia (green-blind)
#3F7BDA
Tritanopia (blue-blind)
#0097A4
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4282dc;
/* rgb */ color: rgb(66, 130, 220);
/* oklch */ color: oklch(60.9% 0.152 257.4);
Tailwind
colors: {
  custom: {
    50: '#88a5e7',
    500: '#4282dc',
    950: '#000000',
  },
}
SCSS
$custom: #4282dc;
$custom-light: #88a5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4282dc",
  "rgb": {
    "r": 66,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 215.065,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.15207,
    "h": 257.4
  },
  "luminance": 0.22291
}

Semantic roles & 50–950 ramp

primary
#4282DC
secondary
#DDC29D
accent
#A33CEC
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4282DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4282DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva