#4279CB#4279CB

#4279CB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.139 H 258.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4279CB
RGBrgb(66, 121, 203)
HSLhsl(216, 57%, 53%)
HSVhsv(216, 67%, 80%)
CMYKcmyk(67.5%, 40.4%, 0%, 20.4%)
CIE-LABlab(50.85, 8.53, -47.91)
CIE-LCHlch(50.85, 48.67, 280.10°)
OKLaboklab(57.87% -0.0283 -0.1366)
OKLCHoklch(57.87% 0.139 258.3)
XYZxyz(19.8597, 19.1428, 59.1366)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4279CB #CB9442
analogous
#42BECB #4279CB #4F42CB
triadic
#4279CB #CB4279 #79CB42
tetradic
#4279CB #CB42BE #CB9442 #42CB4F
square
#4279CB #CB42BE #CB9442 #42CB4F
split-complementary
#4279CB #CB4F42 #BECB42
monochromatic
#204173 #2D5CA3 #4279CB #729BD8 #A2BDE5

Accessibility & contrast

On white

4.35
#4279CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4279CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4279CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4279CB#FFFFFF#000000##000000
##4279CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4279cb;
/* rgb */ color: rgb(66, 121, 203);
/* oklch */ color: oklch(57.9% 0.139 258.3);
Tailwind
colors: {
  custom: {
    50: '#859fdb',
    500: '#4279cb',
    950: '#000000',
  },
}
SCSS
$custom: #4279cb;
$custom-light: #859fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4279cb",
  "rgb": {
    "r": 66,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 215.912,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57872,
    "c": 0.13948,
    "h": 258.3
  },
  "luminance": 0.19145
}

Semantic roles & 50–950 ramp

primary
#4279CB
secondary
#D2BA97
accent
#A348E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4279CB

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

Preview Lab → · Contrast checker → · Palette generator →

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