#4175DC#4175DC

#4175DC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.167 H 262.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4175DC
RGBrgb(65, 117, 220)
HSLhsl(220, 69%, 56%)
HSVhsv(220, 70%, 86%)
CMYKcmyk(70.5%, 46.8%, 0%, 13.7%)
CIE-LABlab(50.70, 16.94, -57.81)
CIE-LCHlch(50.70, 60.24, 286.33°)
OKLaboklab(58.07% -0.0223 -0.1657)
OKLCHoklch(58.07% 0.167 262.3)
XYZxyz(21.4549, 19.0114, 70.2351)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175DC #DCA841
analogous
#41C2DC #4175DC #5A41DC
triadic
#4175DC #DC4175 #75DC41
tetradic
#4175DC #DC41C2 #DCA841 #41DC5A
square
#4175DC #DC41C2 #DCA841 #41DC5A
split-complementary
#4175DC #DC5A41 #C2DC41
monochromatic
#193F89 #2357BD #4175DC #759BE6 #A8C0EF

Accessibility & contrast

On white

4.37
#4175DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4175DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175DC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175DC#FFFFFF#000000##000000
##4175DC1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#1872DA
Tritanopia (blue-blind)
#008D9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4175dc;
/* rgb */ color: rgb(65, 117, 220);
/* oklch */ color: oklch(58.1% 0.167 262.3);
Tailwind
colors: {
  custom: {
    50: '#889ce7',
    500: '#4175dc',
    950: '#000000',
  },
}
SCSS
$custom: #4175dc;
$custom-light: #889ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#4175dc",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 220
  },
  "hsl": {
    "h": 219.871,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58065,
    "c": 0.16722,
    "h": 262.3
  },
  "luminance": 0.19014
}

Semantic roles & 50–950 ramp

primary
#4175DC
secondary
#DDC79C
accent
#B13CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4175DC

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

Preview Lab → · Contrast checker → · Palette generator →

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