#4075DC#4075DC

#4075DC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.0% C 0.168 H 262.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4075DC
RGBrgb(64, 117, 220)
HSLhsl(220, 69%, 56%)
HSVhsv(220, 71%, 86%)
CMYKcmyk(70.9%, 46.8%, 0%, 13.7%)
CIE-LABlab(50.66, 16.80, -57.87)
CIE-LCHlch(50.66, 60.26, 286.18°)
OKLaboklab(58.02% -0.0231 -0.1659)
OKLCHoklch(58.02% 0.168 262.1)
XYZxyz(21.3893, 18.9776, 70.2321)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075DC #DCA740
analogous
#40C3DC #4075DC #5940DC
triadic
#4075DC #DC4075 #75DC40
tetradic
#4075DC #DC40C3 #DCA740 #40DC59
square
#4075DC #DC40C3 #DCA740 #40DC59
split-complementary
#4075DC #DC5940 #C3DC40
monochromatic
#193F89 #2357BC #4075DC #749AE5 #A7C0EF

Accessibility & contrast

On white

4.38
#4075DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4075DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075DC#FFFFFF#000000##000000
##4075DC1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#1772DA
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4075dc;
/* rgb */ color: rgb(64, 117, 220);
/* oklch */ color: oklch(58.0% 0.168 262.1);
Tailwind
colors: {
  custom: {
    50: '#879ce7',
    500: '#4075dc',
    950: '#000000',
  },
}
SCSS
$custom: #4075dc;
$custom-light: #879ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4075dc",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 219.615,
    "s": 69.027,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58024,
    "c": 0.16753,
    "h": 262.1
  },
  "luminance": 0.1898
}

Semantic roles & 50–950 ramp

primary
#4075DC
secondary
#DCC69B
accent
#B03CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075DC

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

Preview Lab → · Contrast checker → · Palette generator →

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