#4277DC#4277DC

#4277DC is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.5% C 0.165 H 261.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4277DC
RGBrgb(66, 119, 220)
HSLhsl(219, 69%, 56%)
HSVhsv(219, 70%, 86%)
CMYKcmyk(70%, 45.9%, 0%, 13.7%)
CIE-LABlab(51.29, 15.83, -56.86)
CIE-LCHlch(51.29, 59.03, 285.56°)
OKLaboklab(58.53% -0.0233 -0.1629)
OKLCHoklch(58.53% 0.165 261.8)
XYZxyz(21.7573, 19.5169, 70.3168)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4277DC #DCA742
analogous
#42C4DC #4277DC #5A42DC
triadic
#4277DC #DC4277 #77DC42
tetradic
#4277DC #DC42C4 #DCA742 #42DC5A
square
#4277DC #DC42C4 #DCA742 #42DC5A
split-complementary
#4277DC #DC5A42 #C4DC42
monochromatic
#1A408A #2358BE #4277DC #769CE6 #A9C1EF

Accessibility & contrast

On white

4.28
#4277DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4277DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4277DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4277DC#FFFFFF#000000##000000
##4277DC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E0
Deuteranopia (green-blind)
#2274DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4277dc;
/* rgb */ color: rgb(66, 119, 220);
/* oklch */ color: oklch(58.5% 0.165 261.8);
Tailwind
colors: {
  custom: {
    50: '#889de7',
    500: '#4277dc',
    950: '#000000',
  },
}
SCSS
$custom: #4277dc;
$custom-light: #889de7;
$custom-dark: #000000;
JSON
{
  "hex": "#4277dc",
  "rgb": {
    "r": 66,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 219.351,
    "s": 68.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.16456,
    "h": 261.8
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#4277DC
secondary
#DDC79D
accent
#AF3CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4277DC

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

Preview Lab → · Contrast checker → · Palette generator →

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