#4278DD#4278DD

#4278DD is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.165 H 261.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4278DD
RGBrgb(66, 120, 221)
HSLhsl(219, 70%, 56%)
HSVhsv(219, 70%, 87%)
CMYKcmyk(70.1%, 45.7%, 0%, 13.3%)
CIE-LABlab(51.62, 15.57, -56.89)
CIE-LCHlch(51.62, 58.98, 285.31°)
OKLaboklab(58.8% -0.024 -0.163)
OKLCHoklch(58.8% 0.165 261.6)
XYZxyz(22.0097, 19.8093, 71.0562)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4278DD #DDA742
analogous
#42C6DD #4278DD #5A42DD
triadic
#4278DD #DD4278 #78DD42
tetradic
#4278DD #DD42C6 #DDA742 #42DD5A
square
#4278DD #DD42C6 #DDA742 #42DD5A
split-complementary
#4278DD #DD5A42 #C6DD42
monochromatic
#19418C #2259BF #4278DD #769DE6 #AAC2F0

Accessibility & contrast

On white

4.23
#4278DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4278DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4278DD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4278DD#FFFFFF#000000##000000
##4278DD1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#2374DB
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4278dd;
/* rgb */ color: rgb(66, 120, 221);
/* oklch */ color: oklch(58.8% 0.165 261.6);
Tailwind
colors: {
  custom: {
    50: '#889ee8',
    500: '#4278dd',
    950: '#000000',
  },
}
SCSS
$custom: #4278dd;
$custom-light: #889ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#4278dd",
  "rgb": {
    "r": 66,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 219.097,
    "s": 69.507,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58802,
    "c": 0.16473,
    "h": 261.6
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

primary
#4278DD
secondary
#DDC79D
accent
#AF3BEC
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4278DD

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

Preview Lab → · Contrast checker → · Palette generator →

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