#4281E0#4281E0

#4281E0 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.158 H 258.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4281E0
RGBrgb(66, 129, 224)
HSLhsl(216, 72%, 57%)
HSVhsv(216, 71%, 88%)
CMYKcmyk(70.5%, 42.4%, 0%, 12.2%)
CIE-LABlab(54.28, 11.10, -54.32)
CIE-LCHlch(54.28, 55.44, 281.55°)
OKLaboklab(60.91% -0.0315 -0.1553)
OKLCHoklch(60.91% 0.158 258.5)
XYZxyz(23.5467, 22.2381, 73.5580)
Luminance0.2224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4281E0 #E0A142
analogous
#42D0E0 #4281E0 #5242E0
triadic
#4281E0 #E04281 #81E042
tetradic
#4281E0 #E042D0 #E0A142 #42E052
square
#4281E0 #E042D0 #E0A142 #42E052
split-complementary
#4281E0 #E05242 #D0E042
monochromatic
#184890 #2062C5 #4281E0 #77A4E9 #ABC7F1

Accessibility & contrast

On white

3.85
#4281E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4281E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4281E0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4281E0#FFFFFF#000000##000000
##4281E01.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#538AE4
Deuteranopia (green-blind)
#387BDE
Tritanopia (blue-blind)
#0097A5
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4281e0;
/* rgb */ color: rgb(66, 129, 224);
/* oklch */ color: oklch(60.9% 0.158 258.5);
Tailwind
colors: {
  custom: {
    50: '#88a5ea',
    500: '#4281e0',
    950: '#000000',
  },
}
SCSS
$custom: #4281e0;
$custom-light: #88a5ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4281e0",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 224
  },
  "hsl": {
    "h": 216.076,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.15843,
    "h": 258.5
  },
  "luminance": 0.22241
}

Semantic roles & 50–950 ramp

primary
#4281E0
secondary
#DFC59F
accent
#A639EF
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4281E0

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

Preview Lab → · Contrast checker → · Palette generator →

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