#4278DC#4278DC

#4278DC is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.7% C 0.163 H 261.5°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4278DC
RGBrgb(66, 120, 220)
HSLhsl(219, 69%, 56%)
HSVhsv(219, 70%, 86%)
CMYKcmyk(70%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.56, 15.21, -56.42)
CIE-LCHlch(51.56, 58.44, 285.09°)
OKLaboklab(58.74% -0.0242 -0.1616)
OKLCHoklch(58.74% 0.163 261.5)
XYZxyz(21.8769, 19.7562, 70.3567)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278DC #DCA642
analogous
#42C5DC #4278DC #5942DC
triadic
#4278DC #DC4278 #78DC42
tetradic
#4278DC #DC42C5 #DCA642 #42DC59
square
#4278DC #DC42C5 #DCA642 #42DC59
split-complementary
#4278DC #DC5942 #C5DC42
monochromatic
#1A418A #2359BE #4278DC #769DE6 #A9C2EF

Accessibility & contrast

On white

4.24
#4278DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4278DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278DC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278DC#FFFFFF#000000##000000
##4278DC1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582E0
Deuteranopia (green-blind)
#2574DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4278dc;
/* rgb */ color: rgb(66, 120, 220);
/* oklch */ color: oklch(58.7% 0.163 261.5);
Tailwind
colors: {
  custom: {
    50: '#889ee7',
    500: '#4278dc',
    950: '#000000',
  },
}
SCSS
$custom: #4278dc;
$custom-light: #889ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4278dc",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 218.961,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58736,
    "c": 0.16339,
    "h": 261.5
  },
  "luminance": 0.19758
}

Semantic roles & 50–950 ramp

primary
#4278DC
secondary
#DDC69D
accent
#AE3CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4278DC

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

Preview Lab → · Contrast checker → · Palette generator →

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