#4278DA#4278DA

#4278DA is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.161 H 261.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4278DA
RGBrgb(66, 120, 218)
HSLhsl(219, 67%, 56%)
HSVhsv(219, 70%, 85%)
CMYKcmyk(69.7%, 45%, 0%, 14.5%)
CIE-LABlab(51.44, 14.50, -55.49)
CIE-LCHlch(51.44, 57.35, 284.64°)
OKLaboklab(58.61% -0.0245 -0.1588)
OKLCHoklch(58.61% 0.161 261.2)
XYZxyz(21.6136, 19.6509, 68.9700)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278DA #DAA442
analogous
#42C4DA #4278DA #5842DA
triadic
#4278DA #DA4278 #78DA42
tetradic
#4278DA #DA42C4 #DAA442 #42DA58
square
#4278DA #DA42C4 #DAA442 #42DA58
split-complementary
#4278DA #DA5842 #C4DA42
monochromatic
#1A4187 #245ABA #4278DA #759DE4 #A8C1EE

Accessibility & contrast

On white

4.26
#4278DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4278DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278DA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278DA#FFFFFF#000000##000000
##4278DA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DE
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4278da;
/* rgb */ color: rgb(66, 120, 218);
/* oklch */ color: oklch(58.6% 0.161 261.2);
Tailwind
colors: {
  custom: {
    50: '#889ee6',
    500: '#4278da',
    950: '#000000',
  },
}
SCSS
$custom: #4278da;
$custom-light: #889ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#4278da",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 218.684,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58605,
    "c": 0.16072,
    "h": 261.2
  },
  "luminance": 0.19653
}

Semantic roles & 50–950 ramp

primary
#4278DA
secondary
#DBC59C
accent
#AD3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4278DA

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

Preview Lab → · Contrast checker → · Palette generator →

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