#4279D5#4279D5

#4279D5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.5% C 0.153 H 260.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4279D5
RGBrgb(66, 121, 213)
HSLhsl(218, 64%, 55%)
HSVhsv(218, 69%, 84%)
CMYKcmyk(69%, 43.2%, 0%, 16.5%)
CIE-LABlab(51.42, 12.09, -52.69)
CIE-LCHlch(51.42, 54.06, 282.93°)
OKLaboklab(58.5% -0.0263 -0.1506)
OKLCHoklch(58.5% 0.153 260.1)
XYZxyz(21.0901, 19.6349, 65.6163)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279D5 #D59E42
analogous
#42C2D5 #4279D5 #5542D5
triadic
#4279D5 #D54279 #79D542
tetradic
#4279D5 #D542C2 #D59E42 #42D555
square
#4279D5 #D542C2 #D59E42 #42D555
split-complementary
#4279D5 #D55542 #C2D542
monochromatic
#1C4280 #285BB2 #4279D5 #749DE0 #A6C0EB

Accessibility & contrast

On white

4.26
#4279D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4279D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279D5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279D5#FFFFFF#000000##000000
##4279D51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C82D9
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#008E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4279d5;
/* rgb */ color: rgb(66, 121, 213);
/* oklch */ color: oklch(58.5% 0.153 260.1);
Tailwind
colors: {
  custom: {
    50: '#879fe2',
    500: '#4279d5',
    950: '#000000',
  },
}
SCSS
$custom: #4279d5;
$custom-light: #879fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#4279d5",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 217.551,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58496,
    "c": 0.15288,
    "h": 260.1
  },
  "luminance": 0.19637
}

Semantic roles & 50–950 ramp

primary
#4279D5
secondary
#D8C19A
accent
#A941E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4279D5

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

Preview Lab → · Contrast checker → · Palette generator →

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