#4284E7#4284E7

#4284E7 is a mid, vivid blue. Relative luminance 0.234; OKLCH L 62.0% C 0.164 H 258.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4284E7
RGBrgb(66, 132, 231)
HSLhsl(216, 77%, 58%)
HSVhsv(216, 71%, 91%)
CMYKcmyk(71.4%, 42.9%, 0%, 9.4%)
CIE-LABlab(55.51, 11.77, -56.27)
CIE-LCHlch(55.51, 57.48, 281.81°)
OKLaboklab(61.99% -0.0328 -0.1609)
OKLCHoklch(61.99% 0.164 258.5)
XYZxyz(24.9166, 23.4276, 78.7946)
Luminance0.2343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4284E7 #E7A542
analogous
#42D6E7 #4284E7 #5242E7
triadic
#4284E7 #E74284 #84E742
tetradic
#4284E7 #E742D6 #E7A542 #42E752
square
#4284E7 #E742D6 #E7A542 #42E752
split-complementary
#4284E7 #E75242 #D6E742
monochromatic
#144A9B #1B64D1 #4284E7 #78A7EE #AFCBF5

Accessibility & contrast

On white

3.69
#4284E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4284E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4284E7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4284E7#FFFFFF#000000##000000
##4284E71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538DEB
Deuteranopia (green-blind)
#367EE5
Tritanopia (blue-blind)
#009BAA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4284e7;
/* rgb */ color: rgb(66, 132, 231);
/* oklch */ color: oklch(62.0% 0.164 258.5);
Tailwind
colors: {
  custom: {
    50: '#8aa7ef',
    500: '#4284e7',
    950: '#000000',
  },
}
SCSS
$custom: #4284e7;
$custom-light: #8aa7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4284e7",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 231
  },
  "hsl": {
    "h": 216,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61992,
    "c": 0.16424,
    "h": 258.5
  },
  "luminance": 0.2343
}

Semantic roles & 50–950 ramp

primary
#4284E7
secondary
#E3C9A2
accent
#A734F4
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4284E7

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

Preview Lab → · Contrast checker → · Palette generator →

#4284E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva