#4278EA#4278EA

#4278EA is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.7% C 0.182 H 263.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4278EA
RGBrgb(66, 120, 234)
HSLhsl(221, 80%, 59%)
HSVhsv(221, 72%, 92%)
CMYKcmyk(71.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(52.43, 20.23, -62.89)
CIE-LCHlch(52.43, 66.06, 287.83°)
OKLaboklab(59.68% -0.0222 -0.1806)
OKLCHoklch(59.68% 0.182 263)
XYZxyz(23.8092, 20.5291, 80.5337)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278EA #EAB442
analogous
#42CCEA #4278EA #6042EA
triadic
#4278EA #EA4278 #78EA42
tetradic
#4278EA #EA42CC #EAB442 #42EA60
square
#4278EA #EA42CC #EAB442 #42EA60
split-complementary
#4278EA #EA6042 #CCEA42
monochromatic
#123FA0 #1855D7 #4278EA #799FF0 #B0C7F6

Accessibility & contrast

On white

4.11
#4278EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4278EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278EA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278EA#FFFFFF#000000##000000
##4278EA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#0093A6
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4278ea;
/* rgb */ color: rgb(66, 120, 234);
/* oklch */ color: oklch(59.7% 0.182 263.0);
Tailwind
colors: {
  custom: {
    50: '#8b9ef1',
    500: '#4278ea',
    950: '#000000',
  },
}
SCSS
$custom: #4278ea;
$custom-light: #8b9ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#4278ea",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 220.714,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59682,
    "c": 0.18197,
    "h": 263
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

primary
#4278EA
secondary
#E5D0A3
accent
#B731F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4278EA

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

Preview Lab → · Contrast checker → · Palette generator →

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