#4279C7#4279C7

#4279C7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.6% C 0.134 H 257.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4279C7
RGBrgb(66, 121, 199)
HSLhsl(215, 54%, 52%)
HSVhsv(215, 67%, 78%)
CMYKcmyk(66.8%, 39.2%, 0%, 22%)
CIE-LABlab(50.63, 7.12, -45.98)
CIE-LCHlch(50.63, 46.53, 278.80°)
OKLaboklab(57.63% -0.0292 -0.1309)
OKLCHoklch(57.63% 0.134 257.4)
XYZxyz(19.3892, 18.9546, 56.6585)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279C7 #C79042
analogous
#42BCC7 #4279C7 #4E42C7
triadic
#4279C7 #C74279 #79C742
tetradic
#4279C7 #C742BC #C79042 #42C74E
square
#4279C7 #C742BC #C79042 #42C74E
split-complementary
#4279C7 #C74E42 #BCC742
monochromatic
#21416E #2F5C9D #4279C7 #719AD5 #A0BCE3

Accessibility & contrast

On white

4.38
#4279C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#4279C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279C7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279C7#FFFFFF#000000##000000
##4279C71.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4279c7;
/* rgb */ color: rgb(66, 121, 199);
/* oklch */ color: oklch(57.6% 0.134 257.4);
Tailwind
colors: {
  custom: {
    50: '#849fd8',
    500: '#4279c7',
    950: '#000000',
  },
}
SCSS
$custom: #4279c7;
$custom-light: #849fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4279c7",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 199
  },
  "hsl": {
    "h": 215.188,
    "s": 54.286,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5763,
    "c": 0.13414,
    "h": 257.4
  },
  "luminance": 0.18957
}

Semantic roles & 50–950 ramp

primary
#4279C7
secondary
#D0B795
accent
#A14ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4279C7

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

Preview Lab → · Contrast checker → · Palette generator →

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