#4278CD#4278CD

#4278CD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.143 H 259.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4278CD
RGBrgb(66, 120, 205)
HSLhsl(217, 58%, 53%)
HSVhsv(217, 68%, 80%)
CMYKcmyk(67.8%, 41.5%, 0%, 19.6%)
CIE-LABlab(50.68, 9.86, -49.32)
CIE-LCHlch(50.68, 50.30, 281.31°)
OKLaboklab(57.78% -0.027 -0.1407)
OKLCHoklch(57.78% 0.143 259.2)
XYZxyz(19.9787, 18.9969, 60.3596)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278CD #CD9742
analogous
#42BDCD #4278CD #5142CD
triadic
#4278CD #CD4278 #78CD42
tetradic
#4278CD #CD42BD #CD9742 #42CD51
square
#4278CD #CD42BD #CD9742 #42CD51
split-complementary
#4278CD #CD5142 #BDCD42
monochromatic
#1F4176 #2C5BA6 #4278CD #729BDA #A3BDE7

Accessibility & contrast

On white

4.38
#4278CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4278CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278CD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278CD#FFFFFF#000000##000000
##4278CD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#3A73CB
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4278cd;
/* rgb */ color: rgb(66, 120, 205);
/* oklch */ color: oklch(57.8% 0.143 259.2);
Tailwind
colors: {
  custom: {
    50: '#859edd',
    500: '#4278cd',
    950: '#000000',
  },
}
SCSS
$custom: #4278cd;
$custom-light: #859edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4278cd",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 216.691,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57776,
    "c": 0.14329,
    "h": 259.2
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#4278CD
secondary
#D3BC97
accent
#A546E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4278CD

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

Preview Lab → · Contrast checker → · Palette generator →

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