#4175C5#4175C5

#4175C5 is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.6% C 0.136 H 258.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4175C5
RGBrgb(65, 117, 197)
HSLhsl(216, 53%, 51%)
HSVhsv(216, 67%, 77%)
CMYKcmyk(67%, 40.6%, 0%, 22.7%)
CIE-LABlab(49.35, 8.71, -46.89)
CIE-LCHlch(49.35, 47.69, 280.52°)
OKLaboklab(56.58% -0.0265 -0.1336)
OKLCHoklch(56.58% 0.136 258.8)
XYZxyz(18.6157, 17.8758, 55.2818)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175C5 #C59141
analogous
#41B7C5 #4175C5 #4F41C5
triadic
#4175C5 #C54175 #75C541
tetradic
#4175C5 #C541B7 #C59141 #41C54F
square
#4175C5 #C541B7 #C59141 #41C54F
split-complementary
#4175C5 #C54F41 #B7C541
monochromatic
#213E6B #2F599A #4175C5 #7097D3 #9FB9E2

Accessibility & contrast

On white

4.59
#4175C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4175C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4175C5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175C5#FFFFFF#000000##FFFFFF
##4175C51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#507CC8
Deuteranopia (green-blind)
#3C70C3
Tritanopia (blue-blind)
#008793
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4175c5;
/* rgb */ color: rgb(65, 117, 197);
/* oklch */ color: oklch(56.6% 0.136 258.8);
Tailwind
colors: {
  custom: {
    50: '#839cd7',
    500: '#4175c5',
    950: '#000000',
  },
}
SCSS
$custom: #4175c5;
$custom-light: #839cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4175c5",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 197
  },
  "hsl": {
    "h": 216.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56582,
    "c": 0.13625,
    "h": 258.8
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#4175C5
secondary
#CEB794
accent
#A34BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4175C5

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

Preview Lab → · Contrast checker → · Palette generator →

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