#4076A2#4076A2

#4076A2 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.8% C 0.090 H 245.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4076A2
RGBrgb(64, 118, 162)
HSLhsl(207, 43%, 44%)
HSVhsv(207, 60%, 64%)
CMYKcmyk(60.5%, 27.2%, 0%, 36.5%)
CIE-LABlab(47.82, -4.22, -29.02)
CIE-LCHlch(47.82, 29.32, 261.73°)
OKLaboklab(54.8% -0.0379 -0.0815)
OKLCHoklch(54.8% 0.09 245.1)
XYZxyz(15.1120, 16.6541, 36.5936)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076A2 #A26C40
analogous
#40A29D #4076A2 #4045A2
triadic
#4076A2 #A24076 #76A240
tetradic
#4076A2 #9D40A2 #A26C40 #45A240
square
#4076A2 #9D40A2 #A26C40 #45A240
split-complementary
#4076A2 #A24045 #A29D40
monochromatic
#1D364A #2F5676 #4076A2 #5F95C0 #8BB2D1

Accessibility & contrast

On white

4.85
#4076A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#4076A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4076A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076A2#FFFFFF#000000##FFFFFF
##4076A21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6377A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#008185
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4076a2;
/* rgb */ color: rgb(64, 118, 162);
/* oklch */ color: oklch(54.8% 0.090 245.1);
Tailwind
colors: {
  custom: {
    50: '#7d9dbd',
    500: '#4076a2',
    950: '#000000',
  },
}
SCSS
$custom: #4076a2;
$custom-light: #7d9dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4076a2",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 162
  },
  "hsl": {
    "h": 206.939,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.08991,
    "h": 245.1
  },
  "luminance": 0.16655
}

Semantic roles & 50–950 ramp

primary
#4076A2
secondary
#BC9C82
accent
#8D55D3
background
#F8F9FB
surface
#EFF2F6
border
#CACCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #4076A2

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

Preview Lab → · Contrast checker → · Palette generator →

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