#4075C1#4075C1

#4075C1 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.3% C 0.131 H 257.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4075C1
RGBrgb(64, 117, 193)
HSLhsl(215, 51%, 50%)
HSVhsv(215, 67%, 76%)
CMYKcmyk(66.8%, 39.4%, 0%, 24.3%)
CIE-LABlab(49.08, 7.12, -45.01)
CIE-LCHlch(49.08, 45.57, 278.99°)
OKLaboklab(56.29% -0.0282 -0.1282)
OKLCHoklch(56.29% 0.131 257.6)
XYZxyz(18.0978, 17.6610, 52.8969)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C1 #C18C40
analogous
#40B5C1 #4075C1 #4B40C1
triadic
#4075C1 #C14075 #75C140
tetradic
#4075C1 #C140B5 #C18C40 #40C14B
square
#4075C1 #C140B5 #C18C40 #40C14B
split-complementary
#4075C1 #C14B40 #B5C140
monochromatic
#213D66 #305994 #4075C1 #6E96D0 #9CB8DF

Accessibility & contrast

On white

4.63
#4075C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4075C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C1#FFFFFF#000000##FFFFFF
##4075C11.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#537BC4
Deuteranopia (green-blind)
#3F6FBF
Tritanopia (blue-blind)
#008692
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c1;
/* rgb */ color: rgb(64, 117, 193);
/* oklch */ color: oklch(56.3% 0.131 257.6);
Tailwind
colors: {
  custom: {
    50: '#829cd4',
    500: '#4075c1',
    950: '#000000',
  },
}
SCSS
$custom: #4075c1;
$custom-light: #829cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c1",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 193
  },
  "hsl": {
    "h": 215.349,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56295,
    "c": 0.13122,
    "h": 257.6
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#4075C1
secondary
#CBB492
accent
#A04DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C1

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

Preview Lab → · Contrast checker → · Palette generator →

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