#4070CA#4070CA

#4070CA is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.8% C 0.149 H 261.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4070CA
RGBrgb(64, 112, 202)
HSLhsl(219, 57%, 52%)
HSVhsv(219, 68%, 79%)
CMYKcmyk(68.3%, 44.6%, 0%, 20.8%)
CIE-LABlab(48.19, 13.45, -51.61)
CIE-LCHlch(48.19, 53.33, 284.60°)
OKLaboklab(55.77% -0.0215 -0.1476)
OKLCHoklch(55.77% 0.149 261.7)
XYZxyz(18.5654, 16.9407, 58.1571)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070CA #CA9A40
analogous
#40B5CA #4070CA #5540CA
triadic
#4070CA #CA4070 #70CA40
tetradic
#4070CA #CA40B5 #CA9A40 #40CA55
square
#4070CA #CA40B5 #CA9A40 #40CA55
split-complementary
#4070CA #CA5540 #B5CA40
monochromatic
#1F3B70 #2C55A0 #4070CA #7094D7 #A0B8E5

Accessibility & contrast

On white

4.79
#4070CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4070CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4070CA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4070CA#FFFFFF#000000##FFFFFF
##4070CA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4070ca;
/* rgb */ color: rgb(64, 112, 202);
/* oklch */ color: oklch(55.8% 0.149 261.7);
Tailwind
colors: {
  custom: {
    50: '#8498db',
    500: '#4070ca',
    950: '#000000',
  },
}
SCSS
$custom: #4070ca;
$custom-light: #8498db;
$custom-dark: #000000;
JSON
{
  "hex": "#4070ca",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 219.13,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.14915,
    "h": 261.7
  },
  "luminance": 0.16943
}

Semantic roles & 50–950 ramp

primary
#4070CA
secondary
#D1BC95
accent
#AB48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4070CA

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

Preview Lab → · Contrast checker → · Palette generator →

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