#4279D9#4279D9

#4279D9 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.8% C 0.158 H 260.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4279D9
RGBrgb(66, 121, 217)
HSLhsl(218, 67%, 55%)
HSVhsv(218, 70%, 85%)
CMYKcmyk(69.6%, 44.2%, 0%, 14.9%)
CIE-LABlab(51.66, 13.52, -54.58)
CIE-LCHlch(51.66, 56.23, 283.91°)
OKLaboklab(58.75% -0.0256 -0.1561)
OKLCHoklch(58.75% 0.158 260.7)
XYZxyz(21.6040, 19.8405, 68.3232)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279D9 #D9A242
analogous
#42C4D9 #4279D9 #5642D9
triadic
#4279D9 #D94279 #79D942
tetradic
#4279D9 #D942C4 #D9A242 #42D956
square
#4279D9 #D942C4 #D9A242 #42D956
split-complementary
#4279D9 #D95642 #C4D942
monochromatic
#1B4286 #255BB9 #4279D9 #759DE3 #A8C1ED

Accessibility & contrast

On white

4.23
#4279D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4279D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279D9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279D9#FFFFFF#000000##000000
##4279D91.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DD
Deuteranopia (green-blind)
#2D75D7
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4279d9;
/* rgb */ color: rgb(66, 121, 217);
/* oklch */ color: oklch(58.8% 0.158 260.7);
Tailwind
colors: {
  custom: {
    50: '#879fe5',
    500: '#4279d9',
    950: '#000000',
  },
}
SCSS
$custom: #4279d9;
$custom-light: #879fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4279d9",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 218.146,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.58752,
    "c": 0.15823,
    "h": 260.7
  },
  "luminance": 0.19843
}

Semantic roles & 50–950 ramp

primary
#4279D9
secondary
#DBC49C
accent
#AB3EE9
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4279D9

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

Preview Lab → · Contrast checker → · Palette generator →

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