#4279CC#4279CC

#4279CC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 57.9% C 0.141 H 258.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#4279CC
RGBrgb(66, 121, 204)
HSLhsl(216, 58%, 53%)
HSVhsv(216, 68%, 80%)
CMYKcmyk(67.6%, 40.7%, 0%, 20%)
CIE-LABlab(50.91, 8.89, -48.39)
CIE-LCHlch(50.91, 49.20, 280.41°)
OKLaboklab(57.93% -0.0281 -0.138)
OKLCHoklch(57.93% 0.141 258.5)
XYZxyz(19.9793, 19.1906, 59.7663)
Luminance0.1919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279CC #CC9542
analogous
#42BECC #4279CC #5042CC
triadic
#4279CC #CC4279 #79CC42
tetradic
#4279CC #CC42BE #CC9542 #42CC50
square
#4279CC #CC42BE #CC9542 #42CC50
split-complementary
#4279CC #CC5042 #BECC42
monochromatic
#1F4174 #2C5CA4 #4279CC #729BD9 #A2BDE6

Accessibility & contrast

On white

4.34
#4279CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#4279CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279CC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279CC#FFFFFF#000000##000000
##4279CC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4279cc;
/* rgb */ color: rgb(66, 121, 204);
/* oklch */ color: oklch(57.9% 0.141 258.5);
Tailwind
colors: {
  custom: {
    50: '#859fdc',
    500: '#4279cc',
    950: '#000000',
  },
}
SCSS
$custom: #4279cc;
$custom-light: #859fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4279cc",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 204
  },
  "hsl": {
    "h": 216.087,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57933,
    "c": 0.14083,
    "h": 258.5
  },
  "luminance": 0.19193
}

Semantic roles & 50–950 ramp

primary
#4279CC
secondary
#D3BB97
accent
#A347E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4279CC

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

Preview Lab → · Contrast checker → · Palette generator →

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