#4075CF#4075CF

#4075CF is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.2% C 0.150 H 260.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#4075CF
RGBrgb(64, 117, 207)
HSLhsl(218, 60%, 53%)
HSVhsv(218, 69%, 81%)
CMYKcmyk(69.1%, 43.5%, 0%, 18.8%)
CIE-LABlab(49.88, 12.12, -51.76)
CIE-LCHlch(49.88, 53.16, 283.18°)
OKLaboklab(57.17% -0.0253 -0.1479)
OKLCHoklch(57.17% 0.15 260.3)
XYZxyz(19.7341, 18.3155, 61.5146)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075CF #CF9A40
analogous
#40BDCF #4075CF #5240CF
triadic
#4075CF #CF4075 #75CF40
tetradic
#4075CF #CF40BD #CF9A40 #40CF52
square
#4075CF #CF40BD #CF9A40 #40CF52
split-complementary
#4075CF #CF5240 #BDCF40
monochromatic
#1E3F77 #2A59A8 #4075CF #7198DB #A2BCE8

Accessibility & contrast

On white

4.50
#4075CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#4075CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075CF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075CF#FFFFFF#000000##000000
##4075CF1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED2
Deuteranopia (green-blind)
#3070CD
Tritanopia (blue-blind)
#008A98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4075cf;
/* rgb */ color: rgb(64, 117, 207);
/* oklch */ color: oklch(57.2% 0.150 260.3);
Tailwind
colors: {
  custom: {
    50: '#859cde',
    500: '#4075cf',
    950: '#000000',
  },
}
SCSS
$custom: #4075cf;
$custom-light: #859cde;
$custom-dark: #000000;
JSON
{
  "hex": "#4075cf",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 207
  },
  "hsl": {
    "h": 217.762,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.1501,
    "h": 260.3
  },
  "luminance": 0.18318
}

Semantic roles & 50–950 ramp

primary
#4075CF
secondary
#D4BD97
accent
#A845E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075CF

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

Preview Lab → · Contrast checker → · Palette generator →

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