#4075E6#4075E6

#4075E6 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.7% C 0.181 H 263.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4075E6
RGBrgb(64, 117, 230)
HSLhsl(221, 77%, 58%)
HSVhsv(221, 72%, 90%)
CMYKcmyk(72.2%, 49.1%, 0%, 9.8%)
CIE-LABlab(51.29, 20.40, -62.48)
CIE-LCHlch(51.29, 65.73, 288.08°)
OKLaboklab(58.71% -0.0217 -0.1795)
OKLCHoklch(58.71% 0.181 263.1)
XYZxyz(22.7535, 19.5233, 77.4168)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075E6 #E6B140
analogous
#40C8E6 #4075E6 #5E40E6
triadic
#4075E6 #E64075 #75E640
tetradic
#4075E6 #E640C8 #E6B140 #40E65E
square
#4075E6 #E640C8 #E6B140 #40E65E
split-complementary
#4075E6 #E65E40 #C8E640
monochromatic
#143E98 #1B54CE #4075E6 #769CED #ACC3F4

Accessibility & contrast

On white

4.28
#4075E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4075E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075E6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075E6#FFFFFF#000000##000000
##4075E61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382EA
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#0090A2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4075e6;
/* rgb */ color: rgb(64, 117, 230);
/* oklch */ color: oklch(58.7% 0.181 263.1);
Tailwind
colors: {
  custom: {
    50: '#899cef',
    500: '#4075e6',
    950: '#000000',
  },
}
SCSS
$custom: #4075e6;
$custom-light: #899cef;
$custom-dark: #000000;
JSON
{
  "hex": "#4075e6",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 230
  },
  "hsl": {
    "h": 220.843,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58711,
    "c": 0.18081,
    "h": 263.1
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#4075E6
secondary
#E2CD9F
accent
#B634F3
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075E6

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

Preview Lab → · Contrast checker → · Palette generator →

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