#4175D8#4175D8

#4175D8 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.8% C 0.162 H 261.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4175D8
RGBrgb(65, 117, 216)
HSLhsl(219, 66%, 55%)
HSVhsv(219, 70%, 85%)
CMYKcmyk(69.9%, 45.8%, 0%, 15.3%)
CIE-LABlab(50.45, 15.50, -55.94)
CIE-LCHlch(50.45, 58.05, 285.49°)
OKLaboklab(57.8% -0.023 -0.1602)
OKLCHoklch(57.8% 0.162 261.8)
XYZxyz(20.9315, 18.8021, 67.4785)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175D8 #D8A441
analogous
#41C0D8 #4175D8 #5941D8
triadic
#4175D8 #D84175 #75D841
tetradic
#4175D8 #D841C0 #D8A441 #41D859
square
#4175D8 #D841C0 #D8A441 #41D859
split-complementary
#4175D8 #D85941 #C0D841
monochromatic
#1B3F84 #2557B6 #4175D8 #749AE2 #A7BFED

Accessibility & contrast

On white

4.41
#4175D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4175D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175D8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175D8#FFFFFF#000000##000000
##4175D81.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4280DC
Deuteranopia (green-blind)
#2272D6
Tritanopia (blue-blind)
#008C9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4175d8;
/* rgb */ color: rgb(65, 117, 216);
/* oklch */ color: oklch(57.8% 0.162 261.8);
Tailwind
colors: {
  custom: {
    50: '#879ce5',
    500: '#4175d8',
    950: '#000000',
  },
}
SCSS
$custom: #4175d8;
$custom-light: #879ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4175d8",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 216
  },
  "hsl": {
    "h": 219.338,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.16187,
    "h": 261.8
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#4175D8
secondary
#DAC49B
accent
#AE3FE9
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #4175D8

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

Preview Lab → · Contrast checker → · Palette generator →

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