#4076B2#4076B2

#4076B2 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.110 H 252.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4076B2
RGBrgb(64, 118, 178)
HSLhsl(212, 47%, 47%)
HSVhsv(212, 64%, 70%)
CMYKcmyk(64%, 33.7%, 0%, 30.2%)
CIE-LABlab(48.59, 1.24, -37.14)
CIE-LCHlch(48.59, 37.16, 271.92°)
OKLaboklab(55.65% -0.033 -0.1051)
OKLCHoklch(55.65% 0.11 252.6)
XYZxyz(16.6257, 17.2596, 44.5661)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076B2 #B27C40
analogous
#40AFB2 #4076B2 #4340B2
triadic
#4076B2 #B24076 #76B240
tetradic
#4076B2 #B240AF #B27C40 #40B243
square
#4076B2 #B240AF #B27C40 #40B243
split-complementary
#4076B2 #B24340 #AFB240
monochromatic
#203A58 #305885 #4076B2 #6795C8 #94B4D8

Accessibility & contrast

On white

4.72
#4076B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4076B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4076B2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076B2#FFFFFF#000000##FFFFFF
##4076B21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C79B5
Deuteranopia (green-blind)
#4D6EB1
Tritanopia (blue-blind)
#00848C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4076b2;
/* rgb */ color: rgb(64, 118, 178);
/* oklch */ color: oklch(55.6% 0.110 252.6);
Tailwind
colors: {
  custom: {
    50: '#809dc9',
    500: '#4076b2',
    950: '#000000',
  },
}
SCSS
$custom: #4076b2;
$custom-light: #809dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4076b2",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 178
  },
  "hsl": {
    "h": 211.579,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.11019,
    "h": 252.6
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#4076B2
secondary
#C4A88A
accent
#9751D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4076B2

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

Preview Lab → · Contrast checker → · Palette generator →

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