#4070B2#4070B2

#4070B2 is a mid, moderate cyan. Relative luminance 0.159; OKLCH L 54.3% C 0.116 H 256.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4070B2
RGBrgb(64, 112, 178)
HSLhsl(215, 47%, 47%)
HSVhsv(215, 64%, 70%)
CMYKcmyk(64%, 37.1%, 0%, 30.2%)
CIE-LABlab(46.83, 4.92, -39.91)
CIE-LCHlch(46.83, 40.21, 277.02°)
OKLaboklab(54.28% -0.0266 -0.1133)
OKLCHoklch(54.28% 0.116 256.8)
XYZxyz(15.9415, 15.8912, 44.3380)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4070B2 #B28240
analogous
#40A9B2 #4070B2 #4940B2
triadic
#4070B2 #B24070 #70B240
tetradic
#4070B2 #B240A9 #B28240 #40B249
square
#4070B2 #B240A9 #B28240 #40B249
split-complementary
#4070B2 #B24940 #A9B240
monochromatic
#203758 #305485 #4070B2 #6790C8 #94B1D8

Accessibility & contrast

On white

5.03
#4070B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4070B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4070B2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4070B2#FFFFFF#000000##FFFFFF
##4070B21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#436AB1
Tritanopia (blue-blind)
#007F88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4070b2;
/* rgb */ color: rgb(64, 112, 178);
/* oklch */ color: oklch(54.3% 0.116 256.8);
Tailwind
colors: {
  custom: {
    50: '#8098c9',
    500: '#4070b2',
    950: '#000000',
  },
}
SCSS
$custom: #4070b2;
$custom-light: #8098c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4070b2",
  "rgb": {
    "r": 64,
    "g": 112,
    "b": 178
  },
  "hsl": {
    "h": 214.737,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5428,
    "c": 0.11637,
    "h": 256.8
  },
  "luminance": 0.15893
}

Semantic roles & 50–950 ramp

primary
#4070B2
secondary
#C4AB8A
accent
#9E51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #4070B2

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

Preview Lab → · Contrast checker → · Palette generator →

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