#4281DF#4281DF

#4281DF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.8% C 0.157 H 258.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4281DF
RGBrgb(66, 129, 223)
HSLhsl(216, 71%, 57%)
HSVhsv(216, 70%, 87%)
CMYKcmyk(70.4%, 42.2%, 0%, 12.5%)
CIE-LABlab(54.22, 10.75, -53.85)
CIE-LCHlch(54.22, 54.91, 281.28°)
OKLaboklab(60.85% -0.0317 -0.1539)
OKLCHoklch(60.85% 0.157 258.4)
XYZxyz(23.4115, 22.1840, 72.8458)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4281DF #DFA042
analogous
#42CFDF #4281DF #5242DF
triadic
#4281DF #DF4281 #81DF42
tetradic
#4281DF #DF42CF #DFA042 #42DF52
square
#4281DF #DF42CF #DFA042 #42DF52
split-complementary
#4281DF #DF5242 #CFDF42
monochromatic
#18488E #2162C3 #4281DF #76A4E8 #ABC7F1

Accessibility & contrast

On white

3.86
#4281DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4281DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4281DF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4281DF#FFFFFF#000000##000000
##4281DF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E3
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4281df;
/* rgb */ color: rgb(66, 129, 223);
/* oklch */ color: oklch(60.8% 0.157 258.4);
Tailwind
colors: {
  custom: {
    50: '#88a5e9',
    500: '#4281df',
    950: '#000000',
  },
}
SCSS
$custom: #4281df;
$custom-light: #88a5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4281df",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 223
  },
  "hsl": {
    "h": 215.924,
    "s": 71.041,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.15711,
    "h": 258.4
  },
  "luminance": 0.22186
}

Semantic roles & 50–950 ramp

primary
#4281DF
secondary
#DFC59E
accent
#A63AEE
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4281DF

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

Preview Lab → · Contrast checker → · Palette generator →

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