#4281E2#4281E2

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

Color values

HEX#4281E2
RGBrgb(66, 129, 226)
HSLhsl(216, 73%, 57%)
HSVhsv(216, 71%, 89%)
CMYKcmyk(70.8%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.39, 11.82, -55.26)
CIE-LCHlch(54.39, 56.51, 282.07°)
OKLaboklab(61.04% -0.0311 -0.158)
OKLCHoklch(61.04% 0.161 258.9)
XYZxyz(23.8195, 22.3472, 74.9949)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4281E2 #E2A342
analogous
#42D1E2 #4281E2 #5342E2
triadic
#4281E2 #E24281 #81E242
tetradic
#4281E2 #E242D1 #E2A342 #42E253
square
#4281E2 #E242D1 #E2A342 #42E253
split-complementary
#4281E2 #E25342 #D1E242
monochromatic
#174893 #1F61C8 #4281E2 #77A4EA #ACC8F2

Accessibility & contrast

On white

3.84
#4281E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4281E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4281E2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4281E2#FFFFFF#000000##000000
##4281E21.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)
#528AE6
Deuteranopia (green-blind)
#357BE0
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4281e2;
/* rgb */ color: rgb(66, 129, 226);
/* oklch */ color: oklch(61.0% 0.161 258.9);
Tailwind
colors: {
  custom: {
    50: '#89a5ec',
    500: '#4281e2',
    950: '#000000',
  },
}
SCSS
$custom: #4281e2;
$custom-light: #89a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4281e2",
  "rgb": {
    "r": 66,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 216.375,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.16106,
    "h": 258.9
  },
  "luminance": 0.2235
}

Semantic roles & 50–950 ramp

primary
#4281E2
secondary
#E0C79F
accent
#A738F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4281E2

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

Preview Lab → · Contrast checker → · Palette generator →

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