#4075D4#4075D4

#4075D4 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.5% C 0.157 H 261.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4075D4
RGBrgb(64, 117, 212)
HSLhsl(219, 63%, 54%)
HSVhsv(219, 70%, 83%)
CMYKcmyk(69.8%, 44.8%, 0%, 16.9%)
CIE-LABlab(50.17, 13.92, -54.12)
CIE-LCHlch(50.17, 55.89, 284.42°)
OKLaboklab(57.49% -0.0244 -0.1549)
OKLCHoklch(57.49% 0.157 261)
XYZxyz(20.3551, 18.5639, 64.7850)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075D4 #D49F40
analogous
#40BFD4 #4075D4 #5540D4
triadic
#4075D4 #D44075 #75D440
tetradic
#4075D4 #D440BF #D49F40 #40D455
square
#4075D4 #D440BF #D49F40 #40D455
split-complementary
#4075D4 #D45540 #BFD440
monochromatic
#1C3F7D #2758AF #4075D4 #7299DF #A4BDEA

Accessibility & contrast

On white

4.46
#4075D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4075D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075D4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075D4#FFFFFF#000000##000000
##4075D41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD8
Deuteranopia (green-blind)
#2971D2
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4075d4;
/* rgb */ color: rgb(64, 117, 212);
/* oklch */ color: oklch(57.5% 0.157 261.0);
Tailwind
colors: {
  custom: {
    50: '#869ce2',
    500: '#4075d4',
    950: '#000000',
  },
}
SCSS
$custom: #4075d4;
$custom-light: #869ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4075d4",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 212
  },
  "hsl": {
    "h": 218.514,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.15682,
    "h": 261
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#4075D4
secondary
#D7C198
accent
#AB42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075D4

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

Preview Lab → · Contrast checker → · Palette generator →

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