#4076C8#4076C8

#4076C8 is a mid, vivid blue. Relative luminance 0.182; OKLCH L 56.9% C 0.140 H 258.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4076C8
RGBrgb(64, 118, 200)
HSLhsl(216, 55%, 52%)
HSVhsv(216, 68%, 78%)
CMYKcmyk(68%, 41%, 0%, 21.6%)
CIE-LABlab(49.76, 9.00, -47.95)
CIE-LCHlch(49.76, 48.79, 280.63°)
OKLaboklab(56.94% -0.0276 -0.1368)
OKLCHoklch(56.94% 0.14 258.6)
XYZxyz(19.0144, 18.2151, 57.1462)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076C8 #C89240
analogous
#40BAC8 #4076C8 #4E40C8
triadic
#4076C8 #C84076 #76C840
tetradic
#4076C8 #C840BA #C89240 #40C84E
square
#4076C8 #C840BA #C89240 #40C84E
split-complementary
#4076C8 #C84E40 #BAC840
monochromatic
#203F6E #2D5A9D #4076C8 #7098D6 #9FBAE3

Accessibility & contrast

On white

4.52
#4076C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4076C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076C8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076C8#FFFFFF#000000##000000
##4076C81.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#507DCB
Deuteranopia (green-blind)
#3B71C6
Tritanopia (blue-blind)
#008995
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4076c8;
/* rgb */ color: rgb(64, 118, 200);
/* oklch */ color: oklch(56.9% 0.140 258.6);
Tailwind
colors: {
  custom: {
    50: '#839dd9',
    500: '#4076c8',
    950: '#000000',
  },
}
SCSS
$custom: #4076c8;
$custom-light: #839dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4076c8",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 200
  },
  "hsl": {
    "h": 216.176,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56944,
    "c": 0.13953,
    "h": 258.6
  },
  "luminance": 0.18217
}

Semantic roles & 50–950 ramp

primary
#4076C8
secondary
#D0B894
accent
#A349DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076C8

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

Preview Lab → · Contrast checker → · Palette generator →

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