#4075C5#4075C5

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

Color values

HEX#4075C5
RGBrgb(64, 117, 197)
HSLhsl(216, 53%, 51%)
HSVhsv(216, 68%, 77%)
CMYKcmyk(67.5%, 40.6%, 0%, 22.7%)
CIE-LABlab(49.30, 8.55, -46.96)
CIE-LCHlch(49.30, 47.73, 280.31°)
OKLaboklab(56.54% -0.0273 -0.1339)
OKLCHoklch(56.54% 0.137 258.5)
XYZxyz(18.5501, 17.8419, 55.2787)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C5 #C59040
analogous
#40B8C5 #4075C5 #4D40C5
triadic
#4075C5 #C54075 #75C540
tetradic
#4075C5 #C540B8 #C59040 #40C54D
square
#4075C5 #C540B8 #C59040 #40C54D
split-complementary
#4075C5 #C54D40 #B8C540
monochromatic
#203E6A #2F5999 #4075C5 #6F97D3 #9EB9E2

Accessibility & contrast

On white

4.60
#4075C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4075C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C5#FFFFFF#000000##FFFFFF
##4075C51.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507CC8
Deuteranopia (green-blind)
#3C6FC3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c5;
/* rgb */ color: rgb(64, 117, 197);
/* oklch */ color: oklch(56.5% 0.137 258.5);
Tailwind
colors: {
  custom: {
    50: '#839cd7',
    500: '#4075c5',
    950: '#000000',
  },
}
SCSS
$custom: #4075c5;
$custom-light: #839cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c5",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 197
  },
  "hsl": {
    "h": 216.09,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.56539,
    "c": 0.13662,
    "h": 258.5
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#4075C5
secondary
#CEB693
accent
#A34BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C5

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

Preview Lab → · Contrast checker → · Palette generator →

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