#4075E3#4075E3

#4075E3 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.5% C 0.177 H 262.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#4075E3
RGBrgb(64, 117, 227)
HSLhsl(220, 74%, 57%)
HSVhsv(220, 72%, 89%)
CMYKcmyk(71.8%, 48.5%, 0%, 11%)
CIE-LABlab(51.10, 19.32, -61.11)
CIE-LCHlch(51.10, 64.09, 287.54°)
OKLaboklab(58.5% -0.0221 -0.1755)
OKLCHoklch(58.5% 0.177 262.8)
XYZxyz(22.3358, 19.3562, 75.2171)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075E3 #E3AE40
analogous
#40C6E3 #4075E3 #5D40E3
triadic
#4075E3 #E34075 #75E340
tetradic
#4075E3 #E340C6 #E3AE40 #40E35D
square
#4075E3 #E340C6 #E3AE40 #40E35D
split-complementary
#4075E3 #E35D40 #C6E340
monochromatic
#163E93 #1D55C8 #4075E3 #759CEB #ABC2F3

Accessibility & contrast

On white

4.31
#4075E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#4075E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075E3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075E3#FFFFFF#000000##000000
##4075E31.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3782E7
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#008FA1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4075e3;
/* rgb */ color: rgb(64, 117, 227);
/* oklch */ color: oklch(58.5% 0.177 262.8);
Tailwind
colors: {
  custom: {
    50: '#899cec',
    500: '#4075e3',
    950: '#000000',
  },
}
SCSS
$custom: #4075e3;
$custom-light: #899cec;
$custom-dark: #000000;
JSON
{
  "hex": "#4075e3",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 227
  },
  "hsl": {
    "h": 220.491,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58502,
    "c": 0.17685,
    "h": 262.8
  },
  "luminance": 0.19359
}

Semantic roles & 50–950 ramp

primary
#4075E3
secondary
#E1CB9E
accent
#B437F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075E3

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

Preview Lab → · Contrast checker → · Palette generator →

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