#4284E2#4284E2

#4284E2 is a mid, vivid blue. Relative luminance 0.232; OKLCH L 61.7% C 0.158 H 257.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4284E2
RGBrgb(66, 132, 226)
HSLhsl(215, 73%, 57%)
HSVhsv(215, 71%, 89%)
CMYKcmyk(70.8%, 41.6%, 0%, 11.4%)
CIE-LABlab(55.23, 9.99, -53.93)
CIE-LCHlch(55.23, 54.84, 280.49°)
OKLaboklab(61.68% -0.0338 -0.1541)
OKLCHoklch(61.68% 0.158 257.6)
XYZxyz(24.2205, 23.1492, 75.1285)
Luminance0.2315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4284E2 #E2A042
analogous
#42D4E2 #4284E2 #5042E2
triadic
#4284E2 #E24284 #84E242
tetradic
#4284E2 #E242D4 #E2A042 #42E250
square
#4284E2 #E242D4 #E2A042 #42E250
split-complementary
#4284E2 #E25042 #D4E242
monochromatic
#174A93 #1F65C8 #4284E2 #77A7EA #ACC9F2

Accessibility & contrast

On white

3.73
#4284E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4284E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4284E2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4284E2#FFFFFF#000000##000000
##4284E21.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#578CE6
Deuteranopia (green-blind)
#3C7DE0
Tritanopia (blue-blind)
#009AA8
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4284e2;
/* rgb */ color: rgb(66, 132, 226);
/* oklch */ color: oklch(61.7% 0.158 257.6);
Tailwind
colors: {
  custom: {
    50: '#89a7eb',
    500: '#4284e2',
    950: '#000000',
  },
}
SCSS
$custom: #4284e2;
$custom-light: #89a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4284e2",
  "rgb": {
    "r": 66,
    "g": 132,
    "b": 226
  },
  "hsl": {
    "h": 215.25,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.15773,
    "h": 257.6
  },
  "luminance": 0.23152
}

Semantic roles & 50–950 ramp

primary
#4284E2
secondary
#E0C69F
accent
#A438F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4284E2

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

Preview Lab → · Contrast checker → · Palette generator →

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