#4279DA#4279DA

#4279DA is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.160 H 260.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4279DA
RGBrgb(66, 121, 218)
HSLhsl(218, 67%, 56%)
HSVhsv(218, 70%, 85%)
CMYKcmyk(69.7%, 44.5%, 0%, 14.5%)
CIE-LABlab(51.72, 13.88, -55.05)
CIE-LCHlch(51.72, 56.77, 284.15°)
OKLaboklab(58.82% -0.0254 -0.1575)
OKLCHoklch(58.82% 0.16 260.8)
XYZxyz(21.7345, 19.8927, 69.0103)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279DA #DAA342
analogous
#42C5DA #4279DA #5742DA
triadic
#4279DA #DA4279 #79DA42
tetradic
#4279DA #DA42C5 #DAA342 #42DA57
square
#4279DA #DA42C5 #DAA342 #42DA57
split-complementary
#4279DA #DA5742 #C5DA42
monochromatic
#1A4287 #245BBA #4279DA #759DE4 #A8C2EE

Accessibility & contrast

On white

4.22
#4279DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4279DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279DA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279DA#FFFFFF#000000##000000
##4279DA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DE
Deuteranopia (green-blind)
#2C75D8
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4279da;
/* rgb */ color: rgb(66, 121, 218);
/* oklch */ color: oklch(58.8% 0.160 260.8);
Tailwind
colors: {
  custom: {
    50: '#879fe6',
    500: '#4279da',
    950: '#000000',
  },
}
SCSS
$custom: #4279da;
$custom-light: #879fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#4279da",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 218
  },
  "hsl": {
    "h": 218.289,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58817,
    "c": 0.15956,
    "h": 260.8
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#4279DA
secondary
#DBC59C
accent
#AC3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4279DA

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

Preview Lab → · Contrast checker → · Palette generator →

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