#4075D5#4075D5

#4075D5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.158 H 261.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4075D5
RGBrgb(64, 117, 213)
HSLhsl(219, 64%, 54%)
HSVhsv(219, 70%, 84%)
CMYKcmyk(70%, 45.1%, 0%, 16.5%)
CIE-LABlab(50.23, 14.28, -54.60)
CIE-LCHlch(50.23, 56.43, 284.65°)
OKLaboklab(57.56% -0.0242 -0.1563)
OKLCHoklch(57.56% 0.158 261.2)
XYZxyz(20.4816, 18.6145, 65.4514)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075D5 #D5A040
analogous
#40BFD5 #4075D5 #5640D5
triadic
#4075D5 #D54075 #75D540
tetradic
#4075D5 #D540BF #D5A040 #40D556
square
#4075D5 #D540BF #D5A040 #40D556
split-complementary
#4075D5 #D55640 #BFD540
monochromatic
#1C3F7F #2758B1 #4075D5 #7299E0 #A4BDEB

Accessibility & contrast

On white

4.45
#4075D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#4075D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075D5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075D5#FFFFFF#000000##000000
##4075D51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#2771D3
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4075d5;
/* rgb */ color: rgb(64, 117, 213);
/* oklch */ color: oklch(57.6% 0.158 261.2);
Tailwind
colors: {
  custom: {
    50: '#869ce2',
    500: '#4075d5',
    950: '#000000',
  },
}
SCSS
$custom: #4075d5;
$custom-light: #869ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4075d5",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 213
  },
  "hsl": {
    "h": 218.658,
    "s": 63.948,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.15817,
    "h": 261.2
  },
  "luminance": 0.18617
}

Semantic roles & 50–950 ramp

primary
#4075D5
secondary
#D8C299
accent
#AC41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075D5

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

Preview Lab → · Contrast checker → · Palette generator →

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