#4279D7#4279D7

#4279D7 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.156 H 260.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#4279D7
RGBrgb(66, 121, 215)
HSLhsl(218, 65%, 55%)
HSVhsv(218, 69%, 84%)
CMYKcmyk(69.3%, 43.7%, 0%, 15.7%)
CIE-LABlab(51.54, 12.81, -53.63)
CIE-LCHlch(51.54, 55.14, 283.43°)
OKLaboklab(58.62% -0.026 -0.1534)
OKLCHoklch(58.62% 0.156 260.4)
XYZxyz(21.3455, 19.7371, 66.9615)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279D7 #D7A042
analogous
#42C4D7 #4279D7 #5542D7
triadic
#4279D7 #D74279 #79D742
tetradic
#4279D7 #D742C4 #D7A042 #42D755
square
#4279D7 #D742C4 #D7A042 #42D755
split-complementary
#4279D7 #D75542 #C4D742
monochromatic
#1C4283 #265BB5 #4279D7 #759DE2 #A7C1EC

Accessibility & contrast

On white

4.24
#4279D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4279D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279D7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279D7#FFFFFF#000000##000000
##4279D71.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#3074D5
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4279d7;
/* rgb */ color: rgb(66, 121, 215);
/* oklch */ color: oklch(58.6% 0.156 260.4);
Tailwind
colors: {
  custom: {
    50: '#879fe4',
    500: '#4279d7',
    950: '#000000',
  },
}
SCSS
$custom: #4279d7;
$custom-light: #879fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4279d7",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 215
  },
  "hsl": {
    "h": 217.852,
    "s": 65.066,
    "l": 55.098
  },
  "oklch": {
    "l": 0.58624,
    "c": 0.15555,
    "h": 260.4
  },
  "luminance": 0.19739
}

Semantic roles & 50–950 ramp

primary
#4279D7
secondary
#DAC39B
accent
#AA40E8
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E15
muted
#7D7E84

Preview Lab

Preview with #4279D7

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

Preview Lab → · Contrast checker → · Palette generator →

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