#4075C4#4075C4

#4075C4 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.5% C 0.135 H 258.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4075C4
RGBrgb(64, 117, 196)
HSLhsl(216, 53%, 51%)
HSVhsv(216, 67%, 77%)
CMYKcmyk(67.3%, 40.3%, 0%, 23.1%)
CIE-LABlab(49.25, 8.19, -46.47)
CIE-LCHlch(49.25, 47.19, 279.99°)
OKLaboklab(56.48% -0.0275 -0.1324)
OKLCHoklch(56.48% 0.135 258.3)
XYZxyz(18.4359, 17.7962, 54.6773)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C4 #C48F40
analogous
#40B7C4 #4075C4 #4D40C4
triadic
#4075C4 #C44075 #75C440
tetradic
#4075C4 #C440B7 #C48F40 #40C44D
square
#4075C4 #C440B7 #C48F40 #40C44D
split-complementary
#4075C4 #C44D40 #B7C440
monochromatic
#203E69 #2F5998 #4075C4 #6F97D2 #9EB9E1

Accessibility & contrast

On white

4.61
#4075C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#4075C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C4#FFFFFF#000000##FFFFFF
##4075C41.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517CC7
Deuteranopia (green-blind)
#3D6FC2
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c4;
/* rgb */ color: rgb(64, 117, 196);
/* oklch */ color: oklch(56.5% 0.135 258.3);
Tailwind
colors: {
  custom: {
    50: '#839cd6',
    500: '#4075c4',
    950: '#000000',
  },
}
SCSS
$custom: #4075c4;
$custom-light: #839cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c4",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 196
  },
  "hsl": {
    "h": 215.909,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.13527,
    "h": 258.3
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#4075C4
secondary
#CDB693
accent
#A24CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C4

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

Preview Lab → · Contrast checker → · Palette generator →

#4075C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva