#4075C6#4075C6

#4075C6 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.6% C 0.138 H 258.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4075C6
RGBrgb(64, 117, 198)
HSLhsl(216, 54%, 51%)
HSVhsv(216, 68%, 78%)
CMYKcmyk(67.7%, 40.9%, 0%, 22.4%)
CIE-LABlab(49.36, 8.90, -47.44)
CIE-LCHlch(49.36, 48.27, 280.63°)
OKLaboklab(56.6% -0.0271 -0.1353)
OKLCHoklch(56.6% 0.138 258.7)
XYZxyz(18.6650, 17.8879, 55.8842)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C6 #C69140
analogous
#40B8C6 #4075C6 #4E40C6
triadic
#4075C6 #C64075 #75C640
tetradic
#4075C6 #C640B8 #C69140 #40C64E
square
#4075C6 #C640B8 #C69140 #40C64E
split-complementary
#4075C6 #C64E40 #B8C640
monochromatic
#203E6C #2E599B #4075C6 #6F97D4 #9EB9E2

Accessibility & contrast

On white

4.59
#4075C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4075C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C6#FFFFFF#000000##FFFFFF
##4075C61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507CC9
Deuteranopia (green-blind)
#3B70C4
Tritanopia (blue-blind)
#008894
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c6;
/* rgb */ color: rgb(64, 117, 198);
/* oklch */ color: oklch(56.6% 0.138 258.7);
Tailwind
colors: {
  custom: {
    50: '#839cd8',
    500: '#4075c6',
    950: '#000000',
  },
}
SCSS
$custom: #4075c6;
$custom-light: #839cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c6",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 198
  },
  "hsl": {
    "h": 216.269,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.566,
    "c": 0.13797,
    "h": 258.7
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#4075C6
secondary
#CEB793
accent
#A34ADD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C6

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

Preview Lab → · Contrast checker → · Palette generator →

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