#4075DD#4075DD

#4075DD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.169 H 262.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4075DD
RGBrgb(64, 117, 221)
HSLhsl(220, 70%, 56%)
HSVhsv(220, 71%, 87%)
CMYKcmyk(71%, 47.1%, 0%, 13.3%)
CIE-LABlab(50.72, 17.16, -58.34)
CIE-LCHlch(50.72, 60.81, 286.39°)
OKLaboklab(58.09% -0.023 -0.1673)
OKLCHoklch(58.09% 0.169 262.2)
XYZxyz(21.5221, 19.0307, 70.9316)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075DD #DDA840
analogous
#40C4DD #4075DD #5940DD
triadic
#4075DD #DD4075 #75DD40
tetradic
#4075DD #DD40C4 #DDA840 #40DD59
square
#4075DD #DD40C4 #DDA840 #40DD59
split-complementary
#4075DD #DD5940 #C4DD40
monochromatic
#193F8A #2257BE #4075DD #749BE6 #A8C0EF

Accessibility & contrast

On white

4.37
#4075DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4075DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075DD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075DD#FFFFFF#000000##000000
##4075DD1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E1
Deuteranopia (green-blind)
#1472DB
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4075dd;
/* rgb */ color: rgb(64, 117, 221);
/* oklch */ color: oklch(58.1% 0.169 262.2);
Tailwind
colors: {
  custom: {
    50: '#879ce8',
    500: '#4075dd',
    950: '#000000',
  },
}
SCSS
$custom: #4075dd;
$custom-light: #879ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#4075dd",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 221
  },
  "hsl": {
    "h": 219.745,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.16887,
    "h": 262.2
  },
  "luminance": 0.19033
}

Semantic roles & 50–950 ramp

primary
#4075DD
secondary
#DDC79C
accent
#B13BED
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4075DD

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

Preview Lab → · Contrast checker → · Palette generator →

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