#4175BE#4175BE

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

Color values

HEX#4175BE
RGBrgb(65, 117, 190)
HSLhsl(215, 49%, 50%)
HSVhsv(215, 66%, 75%)
CMYKcmyk(65.8%, 38.4%, 0%, 25.5%)
CIE-LABlab(48.96, 6.23, -43.48)
CIE-LCHlch(48.96, 43.92, 278.16°)
OKLaboklab(56.16% -0.0281 -0.1236)
OKLCHoklch(56.16% 0.127 257.2)
XYZxyz(17.8322, 17.5624, 51.1553)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175BE #BE8A41
analogous
#41B4BE #4175BE #4B41BE
triadic
#4175BE #BE4175 #75BE41
tetradic
#4175BE #BE41B4 #BE8A41 #41BE4B
square
#4175BE #BE41B4 #BE8A41 #41BE4B
split-complementary
#4175BE #BE4B41 #B4BE41
monochromatic
#223D63 #315990 #4175BE #6F96CE #9CB7DD

Accessibility & contrast

On white

4.65
#4175BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#4175BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4175BE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175BE#FFFFFF#000000##FFFFFF
##4175BE1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#557BC1
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4175be;
/* rgb */ color: rgb(65, 117, 190);
/* oklch */ color: oklch(56.2% 0.127 257.2);
Tailwind
colors: {
  custom: {
    50: '#829cd2',
    500: '#4175be',
    950: '#000000',
  },
}
SCSS
$custom: #4175be;
$custom-light: #829cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4175be",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 190
  },
  "hsl": {
    "h": 215.04,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.12679,
    "h": 257.2
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#4175BE
secondary
#C9B291
accent
#9F4FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4175BE

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

Preview Lab → · Contrast checker → · Palette generator →

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