#4175D2#4175D2

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

Color values

HEX#4175D2
RGBrgb(65, 117, 210)
HSLhsl(218, 62%, 54%)
HSVhsv(218, 69%, 82%)
CMYKcmyk(69%, 44.3%, 0%, 17.6%)
CIE-LABlab(50.09, 13.35, -53.11)
CIE-LCHlch(50.09, 54.76, 284.11°)
OKLaboklab(57.4% -0.024 -0.1519)
OKLCHoklch(57.4% 0.154 261)
XYZxyz(20.1700, 18.4975, 63.4677)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175D2 #D29E41
analogous
#41BDD2 #4175D2 #5641D2
triadic
#4175D2 #D24175 #75D241
tetradic
#4175D2 #D241BD #D29E41 #41D256
square
#4175D2 #D241BD #D29E41 #41D256
split-complementary
#4175D2 #D25641 #BDD241
monochromatic
#1D3F7B #2958AD #4175D2 #7299DE #A4BDE9

Accessibility & contrast

On white

4.47
#4175D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4175D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175D2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175D2#FFFFFF#000000##000000
##4175D21.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)
#477ED6
Deuteranopia (green-blind)
#2C71D0
Tritanopia (blue-blind)
#008B99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4175d2;
/* rgb */ color: rgb(65, 117, 210);
/* oklch */ color: oklch(57.4% 0.154 261.0);
Tailwind
colors: {
  custom: {
    50: '#869ce0',
    500: '#4175d2',
    950: '#000000',
  },
}
SCSS
$custom: #4175d2;
$custom-light: #869ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#4175d2",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 210
  },
  "hsl": {
    "h": 218.483,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57403,
    "c": 0.1538,
    "h": 261
  },
  "luminance": 0.185
}

Semantic roles & 50–950 ramp

primary
#4175D2
secondary
#D6C098
accent
#AB43E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4175D2

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

Preview Lab → · Contrast checker → · Palette generator →

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