#4175CD#4175CD

#4175CD is a mid, vivid blue. Relative luminance 0.183; OKLCH L 57.1% C 0.147 H 260.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4175CD
RGBrgb(65, 117, 205)
HSLhsl(218, 58%, 53%)
HSVhsv(218, 68%, 80%)
CMYKcmyk(68.3%, 42.9%, 0%, 19.6%)
CIE-LABlab(49.80, 11.56, -50.74)
CIE-LCHlch(49.80, 52.04, 282.83°)
OKLaboklab(57.08% -0.0249 -0.1449)
OKLCHoklch(57.08% 0.147 260.3)
XYZxyz(19.5568, 18.2522, 60.2381)
Luminance0.1825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175CD #CD9941
analogous
#41BBCD #4175CD #5341CD
triadic
#4175CD #CD4175 #75CD41
tetradic
#4175CD #CD41BB #CD9941 #41CD53
square
#4175CD #CD41BB #CD9941 #41CD53
split-complementary
#4175CD #CD5341 #BBCD41
monochromatic
#1F3F75 #2C59A5 #4175CD #7198DA #A2BBE6

Accessibility & contrast

On white

4.52
#4175CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4175CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175CD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175CD#FFFFFF#000000##000000
##4175CD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#008997
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4175cd;
/* rgb */ color: rgb(65, 117, 205);
/* oklch */ color: oklch(57.1% 0.147 260.3);
Tailwind
colors: {
  custom: {
    50: '#859cdd',
    500: '#4175cd',
    950: '#000000',
  },
}
SCSS
$custom: #4175cd;
$custom-light: #859cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4175cd",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 205
  },
  "hsl": {
    "h": 217.714,
    "s": 58.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.14706,
    "h": 260.3
  },
  "luminance": 0.18254
}

Semantic roles & 50–950 ramp

primary
#4175CD
secondary
#D3BD97
accent
#A846E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4175CD

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

Preview Lab → · Contrast checker → · Palette generator →

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