#4175BF#4175BF

#4175BF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.2% C 0.128 H 257.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4175BF
RGBrgb(65, 117, 191)
HSLhsl(215, 50%, 50%)
HSVhsv(215, 66%, 75%)
CMYKcmyk(66%, 38.7%, 0%, 25.1%)
CIE-LABlab(49.01, 6.59, -43.97)
CIE-LCHlch(49.01, 44.46, 278.52°)
OKLaboklab(56.22% -0.0279 -0.1251)
OKLCHoklch(56.22% 0.128 257.4)
XYZxyz(17.9418, 17.6062, 51.7329)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175BF #BF8B41
analogous
#41B4BF #4175BF #4C41BF
triadic
#4175BF #BF4175 #75BF41
tetradic
#4175BF #BF41B4 #BF8B41 #41BF4C
square
#4175BF #BF41B4 #BF8B41 #41BF4C
split-complementary
#4175BF #BF4C41 #B4BF41
monochromatic
#223D64 #315992 #4175BF #6F96CE #9DB8DE

Accessibility & contrast

On white

4.64
#4175BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4175BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4175BF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175BF#FFFFFF#000000##FFFFFF
##4175BF1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#547BC2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4175bf;
/* rgb */ color: rgb(65, 117, 191);
/* oklch */ color: oklch(56.2% 0.128 257.4);
Tailwind
colors: {
  custom: {
    50: '#829cd3',
    500: '#4175bf',
    950: '#000000',
  },
}
SCSS
$custom: #4175bf;
$custom-light: #829cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4175bf",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 191
  },
  "hsl": {
    "h": 215.238,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.12815,
    "h": 257.4
  },
  "luminance": 0.17608
}

Semantic roles & 50–950 ramp

primary
#4175BF
secondary
#CAB392
accent
#A04FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4175BF

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

Preview Lab → · Contrast checker → · Palette generator →

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