#4075D1#4075D1

#4075D1 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.3% C 0.153 H 260.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4075D1
RGBrgb(64, 117, 209)
HSLhsl(218, 61%, 54%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(69.4%, 44%, 0%, 18%)
CIE-LABlab(49.99, 12.84, -52.71)
CIE-LCHlch(49.99, 54.25, 283.69°)
OKLaboklab(57.3% -0.0249 -0.1507)
OKLCHoklch(57.3% 0.153 260.6)
XYZxyz(19.9801, 18.4139, 62.8105)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075D1 #D19C40
analogous
#40BDD1 #4075D1 #5340D1
triadic
#4075D1 #D14075 #75D140
tetradic
#4075D1 #D140BD #D19C40 #40D153
square
#4075D1 #D140BD #D19C40 #40D153
split-complementary
#4075D1 #D15340 #BDD140
monochromatic
#1D3F79 #2958AB #4075D1 #7199DD #A3BCE9

Accessibility & contrast

On white

4.48
#4075D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4075D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075D1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075D1#FFFFFF#000000##000000
##4075D11.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ED5
Deuteranopia (green-blind)
#2D71CF
Tritanopia (blue-blind)
#008A99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4075d1;
/* rgb */ color: rgb(64, 117, 209);
/* oklch */ color: oklch(57.3% 0.153 260.6);
Tailwind
colors: {
  custom: {
    50: '#859ce0',
    500: '#4075d1',
    950: '#000000',
  },
}
SCSS
$custom: #4075d1;
$custom-light: #859ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4075d1",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 209
  },
  "hsl": {
    "h": 218.069,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57296,
    "c": 0.15279,
    "h": 260.6
  },
  "luminance": 0.18416
}

Semantic roles & 50–950 ramp

primary
#4075D1
secondary
#D5BF97
accent
#AA44E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075D1

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

Preview Lab → · Contrast checker → · Palette generator →

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