#4076CC#4076CC

#4076CC is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.2% C 0.145 H 259.3°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4076CC
RGBrgb(64, 118, 204)
HSLhsl(217, 58%, 53%)
HSVhsv(217, 69%, 80%)
CMYKcmyk(68.6%, 42.2%, 0%, 20%)
CIE-LABlab(49.98, 10.43, -49.88)
CIE-LCHlch(49.98, 50.95, 281.81°)
OKLaboklab(57.19% -0.0268 -0.1424)
OKLCHoklch(57.19% 0.145 259.3)
XYZxyz(19.4880, 18.4045, 59.6404)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076CC #CC9640
analogous
#40BCCC #4076CC #5040CC
triadic
#4076CC #CC4076 #76CC40
tetradic
#4076CC #CC40BC #CC9640 #40CC50
square
#4076CC #CC40BC #CC9640 #40CC50
split-complementary
#4076CC #CC5040 #BCCC40
monochromatic
#1F3F73 #2C5AA3 #4076CC #7099D9 #A1BBE6

Accessibility & contrast

On white

4.49
#4076CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4076CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076CC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076CC#FFFFFF#000000##000000
##4076CC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7ECF
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#008A97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4076cc;
/* rgb */ color: rgb(64, 118, 204);
/* oklch */ color: oklch(57.2% 0.145 259.3);
Tailwind
colors: {
  custom: {
    50: '#849ddc',
    500: '#4076cc',
    950: '#000000',
  },
}
SCSS
$custom: #4076cc;
$custom-light: #849ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#4076cc",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 204
  },
  "hsl": {
    "h": 216.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.14491,
    "h": 259.3
  },
  "luminance": 0.18406
}

Semantic roles & 50–950 ramp

primary
#4076CC
secondary
#D2BB95
accent
#A647E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076CC

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

Preview Lab → · Contrast checker → · Palette generator →

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