#4279D2#4279D2

#4279D2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.149 H 259.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#4279D2
RGBrgb(66, 121, 210)
HSLhsl(217, 62%, 54%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(68.6%, 42.4%, 0%, 17.6%)
CIE-LABlab(51.25, 11.02, -51.26)
CIE-LCHlch(51.25, 52.44, 282.13°)
OKLaboklab(58.31% -0.0269 -0.1464)
OKLCHoklch(58.31% 0.149 259.6)
XYZxyz(20.7128, 19.4840, 63.6295)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279D2 #D29B42
analogous
#42C1D2 #4279D2 #5342D2
triadic
#4279D2 #D24279 #79D242
tetradic
#4279D2 #D242C1 #D29B42 #42D253
square
#4279D2 #D242C1 #D29B42 #42D253
split-complementary
#4279D2 #D25342 #C1D242
monochromatic
#1E427C #295CAD #4279D2 #739CDE #A5BFEA

Accessibility & contrast

On white

4.29
#4279D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#4279D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279D2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279D2#FFFFFF#000000##000000
##4279D21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D5
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4279d2;
/* rgb */ color: rgb(66, 121, 210);
/* oklch */ color: oklch(58.3% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#869fe0',
    500: '#4279d2',
    950: '#000000',
  },
}
SCSS
$custom: #4279d2;
$custom-light: #869fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4279d2",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 217.083,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58306,
    "c": 0.14886,
    "h": 259.6
  },
  "luminance": 0.19486
}

Semantic roles & 50–950 ramp

primary
#4279D2
secondary
#D7BF99
accent
#A743E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4279D2

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

Preview Lab → · Contrast checker → · Palette generator →

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