#4175C8#4175C8

#4175C8 is a mid, vivid blue. Relative luminance 0.180; OKLCH L 56.8% C 0.140 H 259.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4175C8
RGBrgb(65, 117, 200)
HSLhsl(217, 55%, 52%)
HSVhsv(217, 68%, 78%)
CMYKcmyk(67.5%, 41.5%, 0%, 21.6%)
CIE-LABlab(49.51, 9.78, -48.34)
CIE-LCHlch(49.51, 49.32, 281.43°)
OKLaboklab(56.77% -0.0259 -0.1379)
OKLCHoklch(56.77% 0.14 259.4)
XYZxyz(18.9629, 18.0146, 57.1102)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175C8 #C89441
analogous
#41B9C8 #4175C8 #5141C8
triadic
#4175C8 #C84175 #75C841
tetradic
#4175C8 #C841B9 #C89441 #41C851
square
#4175C8 #C841B9 #C89441 #41C851
split-complementary
#4175C8 #C85141 #B9C841
monochromatic
#203E6F #2E599E #4175C8 #7097D6 #A0BAE3

Accessibility & contrast

On white

4.56
#4175C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#4175C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175C8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175C8#FFFFFF#000000##000000
##4175C81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7CCB
Deuteranopia (green-blind)
#3970C6
Tritanopia (blue-blind)
#008895
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4175c8;
/* rgb */ color: rgb(65, 117, 200);
/* oklch */ color: oklch(56.8% 0.140 259.4);
Tailwind
colors: {
  custom: {
    50: '#849cd9',
    500: '#4175c8',
    950: '#000000',
  },
}
SCSS
$custom: #4175c8;
$custom-light: #849cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4175c8",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 200
  },
  "hsl": {
    "h": 216.889,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.1403,
    "h": 259.4
  },
  "luminance": 0.18017
}

Semantic roles & 50–950 ramp

primary
#4175C8
secondary
#D0B995
accent
#A549DE
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4175C8

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

Preview Lab → · Contrast checker → · Palette generator →

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