#4175D5#4175D5

#4175D5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.6% C 0.158 H 261.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4175D5
RGBrgb(65, 117, 213)
HSLhsl(219, 64%, 55%)
HSVhsv(219, 69%, 84%)
CMYKcmyk(69.5%, 45.1%, 0%, 16.5%)
CIE-LABlab(50.27, 14.42, -54.53)
CIE-LCHlch(50.27, 56.40, 284.81°)
OKLaboklab(57.6% -0.0235 -0.1561)
OKLCHoklch(57.6% 0.158 261.5)
XYZxyz(20.5472, 18.6484, 65.4545)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175D5 #D5A141
analogous
#41BFD5 #4175D5 #5741D5
triadic
#4175D5 #D54175 #75D541
tetradic
#4175D5 #D541BF #D5A141 #41D557
square
#4175D5 #D541BF #D5A141 #41D557
split-complementary
#4175D5 #D55741 #BFD541
monochromatic
#1C3F7F #2758B2 #4175D5 #7399E0 #A5BEEB

Accessibility & contrast

On white

4.44
#4175D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#4175D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175D5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175D5#FFFFFF#000000##000000
##4175D51.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#2871D3
Tritanopia (blue-blind)
#008B9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4175d5;
/* rgb */ color: rgb(65, 117, 213);
/* oklch */ color: oklch(57.6% 0.158 261.5);
Tailwind
colors: {
  custom: {
    50: '#869ce2',
    500: '#4175d5',
    950: '#000000',
  },
}
SCSS
$custom: #4175d5;
$custom-light: #869ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4175d5",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 213
  },
  "hsl": {
    "h": 218.919,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.15784,
    "h": 261.5
  },
  "luminance": 0.1865
}

Semantic roles & 50–950 ramp

primary
#4175D5
secondary
#D8C29A
accent
#AD41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4175D5

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

Preview Lab → · Contrast checker → · Palette generator →

#4175D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva