#4281DD#4281DD

#4281DD is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.154 H 258.0°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4281DD
RGBrgb(66, 129, 221)
HSLhsl(216, 70%, 56%)
HSVhsv(216, 70%, 87%)
CMYKcmyk(70.1%, 41.6%, 0%, 13.3%)
CIE-LABlab(54.11, 10.03, -52.91)
CIE-LCHlch(54.11, 53.85, 280.74°)
OKLaboklab(60.72% -0.0321 -0.1511)
OKLCHoklch(60.72% 0.154 258)
XYZxyz(23.1434, 22.0768, 71.4341)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4281DD #DD9E42
analogous
#42CFDD #4281DD #5142DD
triadic
#4281DD #DD4281 #81DD42
tetradic
#4281DD #DD42CF #DD9E42 #42DD51
square
#4281DD #DD42CF #DD9E42 #42DD51
split-complementary
#4281DD #DD5142 #CFDD42
monochromatic
#19488C #2262BF #4281DD #76A4E6 #AAC6F0

Accessibility & contrast

On white

3.88
#4281DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#4281DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4281DD
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4281DD#FFFFFF#000000##000000
##4281DD1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E1
Deuteranopia (green-blind)
#3B7BDB
Tritanopia (blue-blind)
#0096A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4281dd;
/* rgb */ color: rgb(66, 129, 221);
/* oklch */ color: oklch(60.7% 0.154 258.0);
Tailwind
colors: {
  custom: {
    50: '#88a5e8',
    500: '#4281dd',
    950: '#000000',
  },
}
SCSS
$custom: #4281dd;
$custom-light: #88a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4281dd",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 221
  },
  "hsl": {
    "h": 215.613,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60722,
    "c": 0.15449,
    "h": 258
  },
  "luminance": 0.22079
}

Semantic roles & 50–950 ramp

primary
#4281DD
secondary
#DDC39D
accent
#A43BEC
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4281DD

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

Preview Lab → · Contrast checker → · Palette generator →

#4281DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva