#4279EA#4279EA

#4279EA is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.181 H 262.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4279EA
RGBrgb(66, 121, 234)
HSLhsl(220, 80%, 59%)
HSVhsv(220, 72%, 92%)
CMYKcmyk(71.8%, 48.3%, 0%, 8.2%)
CIE-LABlab(52.70, 19.61, -62.46)
CIE-LCHlch(52.70, 65.46, 287.43°)
OKLaboklab(59.89% -0.023 -0.1793)
OKLCHoklch(59.89% 0.181 262.7)
XYZxyz(23.9301, 20.7709, 80.5740)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279EA #EAB342
analogous
#42CDEA #4279EA #5F42EA
triadic
#4279EA #EA4279 #79EA42
tetradic
#4279EA #EA42CD #EAB342 #42EA5F
square
#4279EA #EA42CD #EAB342 #42EA5F
split-complementary
#4279EA #EA5F42 #CDEA42
monochromatic
#1240A0 #1856D7 #4279EA #79A0F0 #B0C7F6

Accessibility & contrast

On white

4.07
#4279EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4279EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279EA#FFFFFF#000000##000000
##4279EA1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4279ea;
/* rgb */ color: rgb(66, 121, 234);
/* oklch */ color: oklch(59.9% 0.181 262.7);
Tailwind
colors: {
  custom: {
    50: '#8b9ff1',
    500: '#4279ea',
    950: '#000000',
  },
}
SCSS
$custom: #4279ea;
$custom-light: #8b9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4279ea",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 220.357,
    "s": 80,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59887,
    "c": 0.18079,
    "h": 262.7
  },
  "luminance": 0.20774
}

Semantic roles & 50–950 ramp

primary
#4279EA
secondary
#E5CFA3
accent
#B631F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4279EA

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

Preview Lab → · Contrast checker → · Palette generator →

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