#4075C3#4075C3

#4075C3 is a mid, vivid blue. Relative luminance 0.178; OKLCH L 56.4% C 0.134 H 258.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4075C3
RGBrgb(64, 117, 195)
HSLhsl(216, 52%, 51%)
HSVhsv(216, 67%, 76%)
CMYKcmyk(67.2%, 40%, 0%, 23.5%)
CIE-LABlab(49.19, 7.83, -45.99)
CIE-LCHlch(49.19, 46.65, 279.67°)
OKLaboklab(56.42% -0.0277 -0.131)
OKLCHoklch(56.42% 0.134 258)
XYZxyz(18.3224, 17.7509, 54.0798)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075C3 #C38E40
analogous
#40B6C3 #4075C3 #4C40C3
triadic
#4075C3 #C34075 #75C340
tetradic
#4075C3 #C340B6 #C38E40 #40C34C
square
#4075C3 #C340B6 #C38E40 #40C34C
split-complementary
#4075C3 #C34C40 #B6C340
monochromatic
#213D68 #2F5997 #4075C3 #6F97D2 #9DB8E0

Accessibility & contrast

On white

4.61
#4075C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4075C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4075C3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075C3#FFFFFF#000000##FFFFFF
##4075C31.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#517CC6
Deuteranopia (green-blind)
#3E6FC1
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4075c3;
/* rgb */ color: rgb(64, 117, 195);
/* oklch */ color: oklch(56.4% 0.134 258.0);
Tailwind
colors: {
  custom: {
    50: '#839cd5',
    500: '#4075c3',
    950: '#000000',
  },
}
SCSS
$custom: #4075c3;
$custom-light: #839cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4075c3",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 195
  },
  "hsl": {
    "h": 215.725,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.13391,
    "h": 258
  },
  "luminance": 0.17753
}

Semantic roles & 50–950 ramp

primary
#4075C3
secondary
#CCB592
accent
#A24CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4075C3

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

Preview Lab → · Contrast checker → · Palette generator →

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