#4076B3#4076B3

#4076B3 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.7% C 0.112 H 252.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4076B3
RGBrgb(64, 118, 179)
HSLhsl(212, 47%, 48%)
HSVhsv(212, 64%, 70%)
CMYKcmyk(64.2%, 34.1%, 0%, 29.8%)
CIE-LABlab(48.64, 1.59, -37.64)
CIE-LCHlch(48.64, 37.67, 272.42°)
OKLaboklab(55.71% -0.0327 -0.1066)
OKLCHoklch(55.71% 0.112 252.9)
XYZxyz(16.7265, 17.2999, 45.0968)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076B3 #B37D40
analogous
#40AFB3 #4076B3 #4340B3
triadic
#4076B3 #B34076 #76B340
tetradic
#4076B3 #B340AF #B37D40 #40B343
square
#4076B3 #B340AF #B37D40 #40B343
split-complementary
#4076B3 #B34340 #AFB340
monochromatic
#203B59 #305886 #4076B3 #6795C9 #94B5D9

Accessibility & contrast

On white

4.71
#4076B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4076B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4076B3
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076B3#FFFFFF#000000##FFFFFF
##4076B31.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4076b3;
/* rgb */ color: rgb(64, 118, 179);
/* oklch */ color: oklch(55.7% 0.112 252.9);
Tailwind
colors: {
  custom: {
    50: '#809dca',
    500: '#4076b3',
    950: '#000000',
  },
}
SCSS
$custom: #4076b3;
$custom-light: #809dca;
$custom-dark: #000000;
JSON
{
  "hex": "#4076b3",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 179
  },
  "hsl": {
    "h": 211.826,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55706,
    "c": 0.1115,
    "h": 252.9
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#4076B3
secondary
#C4A98A
accent
#9851D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4076B3

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

Preview Lab → · Contrast checker → · Palette generator →

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