#4278D6#4278D6

#4278D6 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.3% C 0.155 H 260.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4278D6
RGBrgb(66, 120, 214)
HSLhsl(218, 64%, 55%)
HSVhsv(218, 69%, 84%)
CMYKcmyk(69.2%, 43.9%, 0%, 16.1%)
CIE-LABlab(51.20, 13.07, -53.61)
CIE-LCHlch(51.20, 55.17, 283.70°)
OKLaboklab(58.35% -0.0252 -0.1533)
OKLCHoklch(58.35% 0.155 260.7)
XYZxyz(21.0965, 19.4441, 66.2466)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278D6 #D6A042
analogous
#42C2D6 #4278D6 #5642D6
triadic
#4278D6 #D64278 #78D642
tetradic
#4278D6 #D642C2 #D6A042 #42D656
square
#4278D6 #D642C2 #D6A042 #42D656
split-complementary
#4278D6 #D65642 #C2D642
monochromatic
#1C4182 #275AB4 #4278D6 #749CE1 #A7C0EC

Accessibility & contrast

On white

4.30
#4278D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4278D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278D6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278D6#FFFFFF#000000##000000
##4278D61.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81DA
Deuteranopia (green-blind)
#2F74D4
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4278d6;
/* rgb */ color: rgb(66, 120, 214);
/* oklch */ color: oklch(58.3% 0.155 260.7);
Tailwind
colors: {
  custom: {
    50: '#879ee3',
    500: '#4278d6',
    950: '#000000',
  },
}
SCSS
$custom: #4278d6;
$custom-light: #879ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#4278d6",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 214
  },
  "hsl": {
    "h": 218.108,
    "s": 64.348,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58346,
    "c": 0.15537,
    "h": 260.7
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#4278D6
secondary
#D9C29B
accent
#AA40E7
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #4278D6

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

Preview Lab → · Contrast checker → · Palette generator →

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