#4279CF#4279CF

#4279CF is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.1% C 0.145 H 259.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4279CF
RGBrgb(66, 121, 207)
HSLhsl(217, 59%, 54%)
HSVhsv(217, 68%, 81%)
CMYKcmyk(68.1%, 41.5%, 0%, 18.8%)
CIE-LABlab(51.08, 9.95, -49.83)
CIE-LCHlch(51.08, 50.82, 281.30°)
OKLaboklab(58.12% -0.0275 -0.1422)
OKLCHoklch(58.12% 0.145 259)
XYZxyz(20.3426, 19.3359, 61.6795)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279CF #CF9842
analogous
#42BFCF #4279CF #5142CF
triadic
#4279CF #CF4279 #79CF42
tetradic
#4279CF #CF42BF #CF9842 #42CF51
square
#4279CF #CF42BF #CF9842 #42CF51
split-complementary
#4279CF #CF5142 #BFCF42
monochromatic
#1F4178 #2B5CA9 #4279CF #739CDB #A4BEE8

Accessibility & contrast

On white

4.31
#4279CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4279CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279CF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279CF#FFFFFF#000000##000000
##4279CF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5181D2
Deuteranopia (green-blind)
#3A74CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4279cf;
/* rgb */ color: rgb(66, 121, 207);
/* oklch */ color: oklch(58.1% 0.145 259.0);
Tailwind
colors: {
  custom: {
    50: '#859fde',
    500: '#4279cf',
    950: '#000000',
  },
}
SCSS
$custom: #4279cf;
$custom-light: #859fde;
$custom-dark: #000000;
JSON
{
  "hex": "#4279cf",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 216.596,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.14485,
    "h": 259
  },
  "luminance": 0.19338
}

Semantic roles & 50–950 ramp

primary
#4279CF
secondary
#D5BD98
accent
#A545E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4279CF

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

Preview Lab → · Contrast checker → · Palette generator →

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