#4079CA#4079CA

#4079CA is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.7% C 0.139 H 257.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4079CA
RGBrgb(64, 121, 202)
HSLhsl(215, 57%, 52%)
HSVhsv(215, 68%, 79%)
CMYKcmyk(68.3%, 40.1%, 0%, 20.8%)
CIE-LABlab(50.72, 7.86, -47.56)
CIE-LCHlch(50.72, 48.21, 279.38°)
OKLaboklab(57.73% -0.0301 -0.1356)
OKLCHoklch(57.73% 0.139 257.5)
XYZxyz(19.6085, 19.0270, 58.5048)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4079CA #CA9140
analogous
#40BECA #4079CA #4C40CA
triadic
#4079CA #CA4079 #79CA40
tetradic
#4079CA #CA40BE #CA9140 #40CA4C
square
#4079CA #CA40BE #CA9140 #40CA4C
split-complementary
#4079CA #CA4C40 #BECA40
monochromatic
#1F4170 #2C5CA0 #4079CA #709BD7 #A0BCE5

Accessibility & contrast

On white

4.37
#4079CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4079CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4079CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4079CA#FFFFFF#000000##000000
##4079CA1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#3E73C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4079ca;
/* rgb */ color: rgb(64, 121, 202);
/* oklch */ color: oklch(57.7% 0.139 257.5);
Tailwind
colors: {
  custom: {
    50: '#849fda',
    500: '#4079ca',
    950: '#000000',
  },
}
SCSS
$custom: #4079ca;
$custom-light: #849fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4079ca",
  "rgb": {
    "r": 64,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 215.217,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57727,
    "c": 0.13888,
    "h": 257.5
  },
  "luminance": 0.19029
}

Semantic roles & 50–950 ramp

primary
#4079CA
secondary
#D1B895
accent
#A148E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4079CA

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

Preview Lab → · Contrast checker → · Palette generator →

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