#4071B2#4071B2

#4071B2 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 54.5% C 0.115 H 256.1°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4071B2
RGBrgb(64, 113, 178)
HSLhsl(214, 47%, 47%)
HSVhsv(214, 64%, 70%)
CMYKcmyk(64%, 36.5%, 0%, 30.2%)
CIE-LABlab(47.12, 4.30, -39.45)
CIE-LCHlch(47.12, 39.68, 276.22°)
OKLaboklab(54.51% -0.0277 -0.1119)
OKLCHoklch(54.51% 0.115 256.1)
XYZxyz(16.0525, 16.1131, 44.3750)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4071B2 #B28140
analogous
#40AAB2 #4071B2 #4840B2
triadic
#4071B2 #B24071 #71B240
tetradic
#4071B2 #B240AA #B28140 #40B248
square
#4071B2 #B240AA #B28140 #40B248
split-complementary
#4071B2 #B24840 #AAB240
monochromatic
#203858 #305485 #4071B2 #6791C8 #94B1D8

Accessibility & contrast

On white

4.97
#4071B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4071B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4071B2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4071B2#FFFFFF#000000##FFFFFF
##4071B21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5576B5
Deuteranopia (green-blind)
#456BB1
Tritanopia (blue-blind)
#008089
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4071b2;
/* rgb */ color: rgb(64, 113, 178);
/* oklch */ color: oklch(54.5% 0.115 256.1);
Tailwind
colors: {
  custom: {
    50: '#8099c9',
    500: '#4071b2',
    950: '#000000',
  },
}
SCSS
$custom: #4071b2;
$custom-light: #8099c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4071b2",
  "rgb": {
    "r": 64,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 214.211,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54507,
    "c": 0.1153,
    "h": 256.1
  },
  "luminance": 0.16115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4071B2

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

Preview Lab → · Contrast checker → · Palette generator →

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