#4075DE#4075DE

#4075DE is a mid, vivid blue. Relative luminance 0.191; OKLCH L 58.2% C 0.170 H 262.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#4075DE
RGBrgb(64, 117, 222)
HSLhsl(220, 71%, 56%)
HSVhsv(220, 71%, 87%)
CMYKcmyk(71.2%, 47.3%, 0%, 12.9%)
CIE-LABlab(50.79, 17.52, -58.80)
CIE-LCHlch(50.79, 61.35, 286.59°)
OKLaboklab(58.16% -0.0228 -0.1687)
OKLCHoklch(58.16% 0.17 262.3)
XYZxyz(21.6558, 19.0842, 71.6354)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075DE #DEA940
analogous
#40C4DE #4075DE #5A40DE
triadic
#4075DE #DE4075 #75DE40
tetradic
#4075DE #DE40C4 #DEA940 #40DE5A
square
#4075DE #DE40C4 #DEA940 #40DE5A
split-complementary
#4075DE #DE5A40 #C4DE40
monochromatic
#183F8B #2156C0 #4075DE #749BE7 #A8C0F0

Accessibility & contrast

On white

4.36
#4075DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#4075DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075DE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075DE#FFFFFF#000000##000000
##4075DE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C81E2
Deuteranopia (green-blind)
#1172DC
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4075de;
/* rgb */ color: rgb(64, 117, 222);
/* oklch */ color: oklch(58.2% 0.170 262.3);
Tailwind
colors: {
  custom: {
    50: '#889ce9',
    500: '#4075de',
    950: '#000000',
  },
}
SCSS
$custom: #4075de;
$custom-light: #889ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#4075de",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 222
  },
  "hsl": {
    "h": 219.873,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58159,
    "c": 0.17021,
    "h": 262.3
  },
  "luminance": 0.19086
}

Semantic roles & 50–950 ramp

primary
#4075DE
secondary
#DEC89C
accent
#B13AED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075DE

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

Preview Lab → · Contrast checker → · Palette generator →

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