#4175C2#4175C2

#4175C2 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.4% C 0.132 H 258.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4175C2
RGBrgb(65, 117, 194)
HSLhsl(216, 51%, 51%)
HSVhsv(216, 66%, 76%)
CMYKcmyk(66.5%, 39.7%, 0%, 23.9%)
CIE-LABlab(49.18, 7.65, -45.43)
CIE-LCHlch(49.18, 46.07, 279.55°)
OKLaboklab(56.4% -0.0272 -0.1294)
OKLCHoklch(56.4% 0.132 258.1)
XYZxyz(18.2754, 17.7396, 53.4894)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175C2 #C28E41
analogous
#41B5C2 #4175C2 #4D41C2
triadic
#4175C2 #C24175 #75C241
tetradic
#4175C2 #C241B5 #C28E41 #41C24D
square
#4175C2 #C241B5 #C28E41 #41C24D
split-complementary
#4175C2 #C24D41 #B5C241
monochromatic
#213D67 #305996 #4175C2 #6F97D1 #9EB8E0

Accessibility & contrast

On white

4.62
#4175C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4175C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4175C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175C2#FFFFFF#000000##FFFFFF
##4175C21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#527BC5
Deuteranopia (green-blind)
#3F6FC0
Tritanopia (blue-blind)
#008792
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4175c2;
/* rgb */ color: rgb(65, 117, 194);
/* oklch */ color: oklch(56.4% 0.132 258.1);
Tailwind
colors: {
  custom: {
    50: '#839cd5',
    500: '#4175c2',
    950: '#000000',
  },
}
SCSS
$custom: #4175c2;
$custom-light: #839cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4175c2",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 194
  },
  "hsl": {
    "h": 215.814,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56399,
    "c": 0.13219,
    "h": 258.1
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#4175C2
secondary
#CCB593
accent
#A24DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4175C2

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

Preview Lab → · Contrast checker → · Palette generator →

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