#4075D8#4075D8

#4075D8 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.162 H 261.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4075D8
RGBrgb(64, 117, 216)
HSLhsl(219, 66%, 55%)
HSVhsv(219, 70%, 85%)
CMYKcmyk(70.4%, 45.8%, 0%, 15.3%)
CIE-LABlab(50.41, 15.36, -56.00)
CIE-LCHlch(50.41, 58.07, 285.33°)
OKLaboklab(57.76% -0.0237 -0.1604)
OKLCHoklch(57.76% 0.162 261.6)
XYZxyz(20.8659, 18.7682, 67.4754)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075D8 #D8A340
analogous
#40C1D8 #4075D8 #5740D8
triadic
#4075D8 #D84075 #75D840
tetradic
#4075D8 #D840C1 #D8A340 #40D857
square
#4075D8 #D840C1 #D8A340 #40D857
split-complementary
#4075D8 #D85740 #C1D840
monochromatic
#1B3F83 #2558B6 #4075D8 #739AE2 #A6BEED

Accessibility & contrast

On white

4.42
#4075D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#4075D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075D8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075D8#FFFFFF#000000##000000
##4075D81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDC
Deuteranopia (green-blind)
#2171D6
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4075d8;
/* rgb */ color: rgb(64, 117, 216);
/* oklch */ color: oklch(57.8% 0.162 261.6);
Tailwind
colors: {
  custom: {
    50: '#869ce5',
    500: '#4075d8',
    950: '#000000',
  },
}
SCSS
$custom: #4075d8;
$custom-light: #869ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4075d8",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 216
  },
  "hsl": {
    "h": 219.079,
    "s": 66.087,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57756,
    "c": 0.16219,
    "h": 261.6
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#4075D8
secondary
#DAC49A
accent
#AE3FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #4075D8

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

Preview Lab → · Contrast checker → · Palette generator →

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