#4278D4#4278D4

#4278D4 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.2% C 0.153 H 260.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4278D4
RGBrgb(66, 120, 212)
HSLhsl(218, 63%, 55%)
HSVhsv(218, 69%, 83%)
CMYKcmyk(68.9%, 43.4%, 0%, 16.9%)
CIE-LABlab(51.09, 12.35, -52.66)
CIE-LCHlch(51.09, 54.09, 283.20°)
OKLaboklab(58.22% -0.0256 -0.1505)
OKLCHoklch(58.22% 0.153 260.3)
XYZxyz(20.8426, 19.3425, 64.9096)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278D4 #D49E42
analogous
#42C1D4 #4278D4 #5542D4
triadic
#4278D4 #D44278 #78D442
tetradic
#4278D4 #D442C1 #D49E42 #42D455
square
#4278D4 #D442C1 #D49E42 #42D455
split-complementary
#4278D4 #D45542 #C1D442
monochromatic
#1D417F #285BB1 #4278D4 #749CDF #A6BFEB

Accessibility & contrast

On white

4.31
#4278D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4278D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278D4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278D4#FFFFFF#000000##000000
##4278D41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B81D8
Deuteranopia (green-blind)
#3273D2
Tritanopia (blue-blind)
#008D9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4278d4;
/* rgb */ color: rgb(66, 120, 212);
/* oklch */ color: oklch(58.2% 0.153 260.3);
Tailwind
colors: {
  custom: {
    50: '#869ee2',
    500: '#4278d4',
    950: '#000000',
  },
}
SCSS
$custom: #4278d4;
$custom-light: #869ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#4278d4",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 212
  },
  "hsl": {
    "h": 217.808,
    "s": 62.931,
    "l": 54.51
  },
  "oklch": {
    "l": 0.58217,
    "c": 0.15269,
    "h": 260.3
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#4278D4
secondary
#D8C19A
accent
#A942E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278D4

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

Preview Lab → · Contrast checker → · Palette generator →

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