#4076CA#4076CA

#4076CA is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.1% C 0.142 H 259.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4076CA
RGBrgb(64, 118, 202)
HSLhsl(217, 57%, 52%)
HSVhsv(217, 68%, 79%)
CMYKcmyk(68.3%, 41.6%, 0%, 20.8%)
CIE-LABlab(49.87, 9.71, -48.92)
CIE-LCHlch(49.87, 49.87, 281.23°)
OKLaboklab(57.07% -0.0272 -0.1396)
OKLCHoklch(57.07% 0.142 259)
XYZxyz(19.2496, 18.3092, 58.3852)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4076CA #CA9440
analogous
#40BBCA #4076CA #4F40CA
triadic
#4076CA #CA4076 #76CA40
tetradic
#4076CA #CA40BB #CA9440 #40CA4F
square
#4076CA #CA40BB #CA9440 #40CA4F
split-complementary
#4076CA #CA4F40 #BBCA40
monochromatic
#1F3F70 #2C5AA0 #4076CA #7098D7 #A0BBE5

Accessibility & contrast

On white

4.50
#4076CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4076CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4076CA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4076CA#FFFFFF#000000##000000
##4076CA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7ECD
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#008996
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4076ca;
/* rgb */ color: rgb(64, 118, 202);
/* oklch */ color: oklch(57.1% 0.142 259.0);
Tailwind
colors: {
  custom: {
    50: '#849dda',
    500: '#4076ca',
    950: '#000000',
  },
}
SCSS
$custom: #4076ca;
$custom-light: #849dda;
$custom-dark: #000000;
JSON
{
  "hex": "#4076ca",
  "rgb": {
    "r": 64,
    "g": 118,
    "b": 202
  },
  "hsl": {
    "h": 216.522,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.14223,
    "h": 259
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#4076CA
secondary
#D1B995
accent
#A448E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4076CA

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

Preview Lab → · Contrast checker → · Palette generator →

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