#4075C7#4075C7

#4075C7 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.7% C 0.139 H 258.9°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4075C7
RGBrgb(64, 117, 199)
HSLhsl(216, 55%, 52%)
HSVhsv(216, 68%, 78%)
CMYKcmyk(67.8%, 41.2%, 0%, 22%)
CIE-LABlab(49.42, 9.26, -47.92)
CIE-LCHlch(49.42, 48.81, 280.93°)
OKLaboklab(56.66% -0.0269 -0.1367)
OKLCHoklch(56.66% 0.139 258.9)
XYZxyz(18.7807, 17.9342, 56.4936)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C7 #C79240
analogous
#40B9C7 #4075C7 #4F40C7
triadic
#4075C7 #C74075 #75C740
tetradic
#4075C7 #C740B9 #C79240 #40C74F
square
#4075C7 #C740B9 #C79240 #40C74F
split-complementary
#4075C7 #C74F40 #B9C740
monochromatic
#203E6D #2E599C #4075C7 #6F97D5 #9FB9E3

Accessibility & contrast

On white

4.58
#4075C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#4075C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075C7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C7#FFFFFF#000000##000000
##4075C71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F7CCA
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c7;
/* rgb */ color: rgb(64, 117, 199);
/* oklch */ color: oklch(56.7% 0.139 258.9);
Tailwind
colors: {
  custom: {
    50: '#839cd8',
    500: '#4075c7',
    950: '#000000',
  },
}
SCSS
$custom: #4075c7;
$custom-light: #839cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c7",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 199
  },
  "hsl": {
    "h": 216.444,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56662,
    "c": 0.13931,
    "h": 258.9
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#4075C7
secondary
#CFB894
accent
#A44ADE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C7

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

Preview Lab → · Contrast checker → · Palette generator →

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