#4075DF#4075DF

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

Color values

HEX#4075DF
RGBrgb(64, 117, 223)
HSLhsl(220, 71%, 56%)
HSVhsv(220, 71%, 87%)
CMYKcmyk(71.3%, 47.5%, 0%, 12.5%)
CIE-LABlab(50.85, 17.88, -59.26)
CIE-LCHlch(50.85, 61.90, 286.79°)
OKLaboklab(58.23% -0.0227 -0.17)
OKLCHoklch(58.23% 0.172 262.4)
XYZxyz(21.7902, 19.1380, 72.3433)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075DF #DFAA40
analogous
#40C5DF #4075DF #5B40DF
triadic
#4075DF #DF4075 #75DF40
tetradic
#4075DF #DF40C5 #DFAA40 #40DF5B
square
#4075DF #DF40C5 #DFAA40 #40DF5B
split-complementary
#4075DF #DF5B40 #C5DF40
monochromatic
#183F8D #2056C1 #4075DF #749BE8 #A9C1F1

Accessibility & contrast

On white

4.35
#4075DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4075DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075DF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075DF#FFFFFF#000000##000000
##4075DF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B81E3
Deuteranopia (green-blind)
#0C72DD
Tritanopia (blue-blind)
#008E9F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4075df;
/* rgb */ color: rgb(64, 117, 223);
/* oklch */ color: oklch(58.2% 0.172 262.4);
Tailwind
colors: {
  custom: {
    50: '#889cea',
    500: '#4075df',
    950: '#000000',
  },
}
SCSS
$custom: #4075df;
$custom-light: #889cea;
$custom-dark: #000000;
JSON
{
  "hex": "#4075df",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 223
  },
  "hsl": {
    "h": 220,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58227,
    "c": 0.17153,
    "h": 262.4
  },
  "luminance": 0.1914
}

Semantic roles & 50–950 ramp

primary
#4075DF
secondary
#DEC89D
accent
#B23AEE
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075DF

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

Preview Lab → · Contrast checker → · Palette generator →

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