#4278D7#4278D7

#4278D7 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.4% C 0.157 H 260.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4278D7
RGBrgb(66, 120, 215)
HSLhsl(218, 65%, 55%)
HSVhsv(218, 69%, 84%)
CMYKcmyk(69.3%, 44.2%, 0%, 15.7%)
CIE-LABlab(51.26, 13.42, -54.08)
CIE-LCHlch(51.26, 55.72, 283.94°)
OKLaboklab(58.41% -0.0251 -0.1547)
OKLCHoklch(58.41% 0.157 260.8)
XYZxyz(21.2246, 19.4953, 66.9212)
Luminance0.1950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278D7 #D7A142
analogous
#42C3D7 #4278D7 #5642D7
triadic
#4278D7 #D74278 #78D742
tetradic
#4278D7 #D742C3 #D7A142 #42D756
square
#4278D7 #D742C3 #D7A142 #42D756
split-complementary
#4278D7 #D75642 #C3D742
monochromatic
#1C4183 #265AB5 #4278D7 #759CE2 #A7C0EC

Accessibility & contrast

On white

4.29
#4278D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4278D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278D7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278D7#FFFFFF#000000##000000
##4278D71.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981DB
Deuteranopia (green-blind)
#2D74D5
Tritanopia (blue-blind)
#008E9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4278d7;
/* rgb */ color: rgb(66, 120, 215);
/* oklch */ color: oklch(58.4% 0.157 260.8);
Tailwind
colors: {
  custom: {
    50: '#879ee4',
    500: '#4278d7',
    950: '#000000',
  },
}
SCSS
$custom: #4278d7;
$custom-light: #879ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#4278d7",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 218.255,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.15671,
    "h": 260.8
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#4278D7
secondary
#DAC39B
accent
#AB40E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #4278D7

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

Preview Lab → · Contrast checker → · Palette generator →

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