#4278C4#4278C4

#4278C4 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.2% C 0.131 H 257.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4278C4
RGBrgb(66, 120, 196)
HSLhsl(215, 52%, 51%)
HSVhsv(215, 66%, 77%)
CMYKcmyk(66.3%, 38.8%, 0%, 23.1%)
CIE-LABlab(50.19, 6.68, -44.98)
CIE-LCHlch(50.19, 45.47, 278.44°)
OKLaboklab(57.23% -0.0289 -0.128)
OKLCHoklch(57.23% 0.131 257.3)
XYZxyz(18.9235, 18.5748, 54.8019)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278C4 #C48E42
analogous
#42B9C4 #4278C4 #4D42C4
triadic
#4278C4 #C44278 #78C442
tetradic
#4278C4 #C442B9 #C48E42 #42C44D
square
#4278C4 #C442B9 #C48E42 #42C44D
split-complementary
#4278C4 #C44D42 #B9C442
monochromatic
#21406A #305B99 #4278C4 #7199D3 #9FBBE1

Accessibility & contrast

On white

4.45
#4278C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4278C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278C4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278C4#FFFFFF#000000##000000
##4278C41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#567EC7
Deuteranopia (green-blind)
#4372C2
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4278c4;
/* rgb */ color: rgb(66, 120, 196);
/* oklch */ color: oklch(57.2% 0.131 257.3);
Tailwind
colors: {
  custom: {
    50: '#849ed6',
    500: '#4278c4',
    950: '#000000',
  },
}
SCSS
$custom: #4278c4;
$custom-light: #849ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4278c4",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 196
  },
  "hsl": {
    "h": 215.077,
    "s": 52.419,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57229,
    "c": 0.13121,
    "h": 257.3
  },
  "luminance": 0.18577
}

Semantic roles & 50–950 ramp

primary
#4278C4
secondary
#CEB694
accent
#A04CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4278C4

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

Preview Lab → · Contrast checker → · Palette generator →

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