#4279DC#4279DC

#4279DC is a mid, vivid blue. Relative luminance 0.200; OKLCH L 58.9% C 0.162 H 261.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#4279DC
RGBrgb(66, 121, 220)
HSLhsl(219, 69%, 56%)
HSVhsv(219, 70%, 86%)
CMYKcmyk(70%, 45%, 0%, 13.7%)
CIE-LABlab(51.84, 14.59, -55.98)
CIE-LCHlch(51.84, 57.85, 284.61°)
OKLaboklab(58.95% -0.0251 -0.1603)
OKLCHoklch(58.95% 0.162 261.1)
XYZxyz(21.9978, 19.9980, 70.3969)
Luminance0.2000 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279DC #DCA542
analogous
#42C6DC #4279DC #5842DC
triadic
#4279DC #DC4279 #79DC42
tetradic
#4279DC #DC42C6 #DCA542 #42DC58
square
#4279DC #DC42C6 #DCA542 #42DC58
split-complementary
#4279DC #DC5842 #C6DC42
monochromatic
#1A428A #235ABE #4279DC #769EE6 #A9C2EF

Accessibility & contrast

On white

4.20
#4279DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#4279DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279DC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279DC#FFFFFF#000000##000000
##4279DC1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783E0
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#0090A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4279dc;
/* rgb */ color: rgb(66, 121, 220);
/* oklch */ color: oklch(58.9% 0.162 261.1);
Tailwind
colors: {
  custom: {
    50: '#889fe7',
    500: '#4279dc',
    950: '#000000',
  },
}
SCSS
$custom: #4279dc;
$custom-light: #889fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4279dc",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 220
  },
  "hsl": {
    "h": 218.571,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58948,
    "c": 0.16223,
    "h": 261.1
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

primary
#4279DC
secondary
#DDC69D
accent
#AD3CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4279DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4279DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva