#4079CB#4079CB

#4079CB is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.8% C 0.140 H 257.7°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4079CB
RGBrgb(64, 121, 203)
HSLhsl(215, 57%, 52%)
HSVhsv(215, 68%, 80%)
CMYKcmyk(68.5%, 40.4%, 0%, 20.4%)
CIE-LABlab(50.77, 8.22, -48.04)
CIE-LCHlch(50.77, 48.74, 279.71°)
OKLaboklab(57.79% -0.0299 -0.137)
OKLCHoklch(57.79% 0.14 257.7)
XYZxyz(19.7273, 19.0745, 59.1304)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079CB #CB9240
analogous
#40BECB #4079CB #4D40CB
triadic
#4079CB #CB4079 #79CB40
tetradic
#4079CB #CB40BE #CB9240 #40CB4D
square
#4079CB #CB40BE #CB9240 #40CB4D
split-complementary
#4079CB #CB4D40 #BECB40
monochromatic
#1F4172 #2C5CA2 #4079CB #709BD8 #A0BCE5

Accessibility & contrast

On white

4.36
#4079CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4079CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079CB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079CB#FFFFFF#000000##000000
##4079CB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4079cb;
/* rgb */ color: rgb(64, 121, 203);
/* oklch */ color: oklch(57.8% 0.140 257.7);
Tailwind
colors: {
  custom: {
    50: '#849fdb',
    500: '#4079cb',
    950: '#000000',
  },
}
SCSS
$custom: #4079cb;
$custom-light: #849fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4079cb",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 203
  },
  "hsl": {
    "h": 215.396,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57788,
    "c": 0.14021,
    "h": 257.7
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#4079CB
secondary
#D2B995
accent
#A247E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079CB

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

Preview Lab → · Contrast checker → · Palette generator →

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