#4278E0#4278E0

#4278E0 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.0% C 0.169 H 262.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#4278E0
RGBrgb(66, 120, 224)
HSLhsl(219, 72%, 57%)
HSVhsv(219, 71%, 88%)
CMYKcmyk(70.5%, 46.4%, 0%, 12.2%)
CIE-LABlab(51.80, 16.65, -58.29)
CIE-LCHlch(51.80, 60.62, 285.94°)
OKLaboklab(59% -0.0236 -0.1671)
OKLCHoklch(59% 0.169 262)
XYZxyz(22.4130, 19.9706, 73.1801)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278E0 #E0AA42
analogous
#42C7E0 #4278E0 #5B42E0
triadic
#4278E0 #E04278 #78E042
tetradic
#4278E0 #E042C7 #E0AA42 #42E05B
square
#4278E0 #E042C7 #E0AA42 #42E05B
split-complementary
#4278E0 #E05B42 #C7E042
monochromatic
#184190 #2058C5 #4278E0 #779EE9 #ABC3F1

Accessibility & contrast

On white

4.20
#4278E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#4278E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278E0
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278E0#FFFFFF#000000##000000
##4278E01.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E4
Deuteranopia (green-blind)
#1C75DE
Tritanopia (blue-blind)
#0090A1
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4278e0;
/* rgb */ color: rgb(66, 120, 224);
/* oklch */ color: oklch(59.0% 0.169 262.0);
Tailwind
colors: {
  custom: {
    50: '#899eea',
    500: '#4278e0',
    950: '#000000',
  },
}
SCSS
$custom: #4278e0;
$custom-light: #899eea;
$custom-dark: #000000;
JSON
{
  "hex": "#4278e0",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 224
  },
  "hsl": {
    "h": 219.494,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59002,
    "c": 0.16873,
    "h": 262
  },
  "luminance": 0.19973
}

Semantic roles & 50–950 ramp

primary
#4278E0
secondary
#DFC99F
accent
#B139EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4278E0

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

Preview Lab → · Contrast checker → · Palette generator →

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