#4279C8#4279C8

#4279C8 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.7% C 0.135 H 257.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4279C8
RGBrgb(66, 121, 200)
HSLhsl(215, 55%, 52%)
HSVhsv(215, 67%, 78%)
CMYKcmyk(67%, 39.5%, 0%, 21.6%)
CIE-LABlab(50.69, 7.47, -46.46)
CIE-LCHlch(50.69, 47.06, 279.14°)
OKLaboklab(57.69% -0.029 -0.1323)
OKLCHoklch(57.69% 0.135 257.6)
XYZxyz(19.5057, 19.0012, 57.2720)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279C8 #C89142
analogous
#42BCC8 #4279C8 #4E42C8
triadic
#4279C8 #C84279 #79C842
tetradic
#4279C8 #C842BC #C89142 #42C84E
square
#4279C8 #C842BC #C89142 #42C84E
split-complementary
#4279C8 #C84E42 #BCC842
monochromatic
#20416F #2E5C9F #4279C8 #719BD6 #A1BCE4

Accessibility & contrast

On white

4.37
#4279C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4279C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279C8#FFFFFF#000000##000000
##4279C81.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#4173C6
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4279c8;
/* rgb */ color: rgb(66, 121, 200);
/* oklch */ color: oklch(57.7% 0.135 257.6);
Tailwind
colors: {
  custom: {
    50: '#849fd9',
    500: '#4279c8',
    950: '#000000',
  },
}
SCSS
$custom: #4279c8;
$custom-light: #849fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4279c8",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 215.373,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5769,
    "c": 0.13547,
    "h": 257.6
  },
  "luminance": 0.19003
}

Semantic roles & 50–950 ramp

primary
#4279C8
secondary
#D0B896
accent
#A14ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4279C8

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

Preview Lab → · Contrast checker → · Palette generator →

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