#4075D3#4075D3

#4075D3 is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.155 H 260.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4075D3
RGBrgb(64, 117, 211)
HSLhsl(218, 63%, 54%)
HSVhsv(218, 70%, 83%)
CMYKcmyk(69.7%, 44.5%, 0%, 17.3%)
CIE-LABlab(50.11, 13.56, -53.65)
CIE-LCHlch(50.11, 55.34, 284.18°)
OKLaboklab(57.43% -0.0246 -0.1535)
OKLCHoklch(57.43% 0.155 260.9)
XYZxyz(20.2293, 18.5136, 64.1228)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4075D3 #D39E40
analogous
#40BFD3 #4075D3 #5540D3
triadic
#4075D3 #D34075 #75D340
tetradic
#4075D3 #D340BF #D39E40 #40D355
square
#4075D3 #D340BF #D39E40 #40D355
split-complementary
#4075D3 #D35540 #BFD340
monochromatic
#1D3F7C #2858AE #4075D3 #7299DE #A3BDEA

Accessibility & contrast

On white

4.47
#4075D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4075D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4075D3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4075D3#FFFFFF#000000##000000
##4075D31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED7
Deuteranopia (green-blind)
#2A71D1
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4075d3;
/* rgb */ color: rgb(64, 117, 211);
/* oklch */ color: oklch(57.4% 0.155 260.9);
Tailwind
colors: {
  custom: {
    50: '#859ce1',
    500: '#4075d3',
    950: '#000000',
  },
}
SCSS
$custom: #4075d3;
$custom-light: #859ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#4075d3",
  "rgb": {
    "r": 64,
    "g": 117,
    "b": 211
  },
  "hsl": {
    "h": 218.367,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.15548,
    "h": 260.9
  },
  "luminance": 0.18516
}

Semantic roles & 50–950 ramp

primary
#4075D3
secondary
#D7C098
accent
#AB42E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4075D3

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

Preview Lab → · Contrast checker → · Palette generator →

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