#4075E1#4075E1

#4075E1 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.174 H 262.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4075E1
RGBrgb(64, 117, 225)
HSLhsl(220, 73%, 57%)
HSVhsv(220, 72%, 88%)
CMYKcmyk(71.6%, 48%, 0%, 11.8%)
CIE-LABlab(50.97, 18.60, -60.19)
CIE-LCHlch(50.97, 63.00, 287.17°)
OKLaboklab(58.36% -0.0224 -0.1727)
OKLCHoklch(58.36% 0.174 262.6)
XYZxyz(22.0614, 19.2465, 73.7718)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075E1 #E1AC40
analogous
#40C6E1 #4075E1 #5B40E1
triadic
#4075E1 #E14075 #75E140
tetradic
#4075E1 #E140C6 #E1AC40 #40E15B
square
#4075E1 #E140C6 #E1AC40 #40E15B
split-complementary
#4075E1 #E15B40 #C6E140
monochromatic
#173F90 #1F56C5 #4075E1 #759BE9 #AAC1F2

Accessibility & contrast

On white

4.33
#4075E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4075E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075E1
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075E1#FFFFFF#000000##000000
##4075E11.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3981E5
Deuteranopia (green-blind)
#0172DF
Tritanopia (blue-blind)
#008FA0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4075e1;
/* rgb */ color: rgb(64, 117, 225);
/* oklch */ color: oklch(58.4% 0.174 262.6);
Tailwind
colors: {
  custom: {
    50: '#889ceb',
    500: '#4075e1',
    950: '#000000',
  },
}
SCSS
$custom: #4075e1;
$custom-light: #889ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#4075e1",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 225
  },
  "hsl": {
    "h": 220.248,
    "s": 72.851,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58364,
    "c": 0.17419,
    "h": 262.6
  },
  "luminance": 0.19249
}

Semantic roles & 50–950 ramp

primary
#4075E1
secondary
#DFCA9D
accent
#B338F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075E1

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

Preview Lab → · Contrast checker → · Palette generator →

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