#4175E4#4175E4

#4175E4 is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.178 H 263.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4175E4
RGBrgb(65, 117, 228)
HSLhsl(221, 75%, 57%)
HSVhsv(221, 71%, 89%)
CMYKcmyk(71.5%, 48.7%, 0%, 10.6%)
CIE-LABlab(51.20, 19.81, -61.50)
CIE-LCHlch(51.20, 64.61, 287.86°)
OKLaboklab(58.61% -0.0212 -0.1766)
OKLCHoklch(58.61% 0.178 263.1)
XYZxyz(22.5399, 19.4454, 75.9492)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4175E4 #E4B041
analogous
#41C6E4 #4175E4 #5F41E4
triadic
#4175E4 #E44175 #75E441
tetradic
#4175E4 #E441C6 #E4B041 #41E45F
square
#4175E4 #E441C6 #E4B041 #41E45F
split-complementary
#4175E4 #E45F41 #C6E441
monochromatic
#153E95 #1D54CB #4175E4 #779CEC #ACC3F3

Accessibility & contrast

On white

4.29
#4175E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4175E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4175E4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4175E4#FFFFFF#000000##000000
##4175E41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E8
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4175e4;
/* rgb */ color: rgb(65, 117, 228);
/* oklch */ color: oklch(58.6% 0.178 263.1);
Tailwind
colors: {
  custom: {
    50: '#899ced',
    500: '#4175e4',
    950: '#000000',
  },
}
SCSS
$custom: #4175e4;
$custom-light: #899ced;
$custom-dark: #000000;
JSON
{
  "hex": "#4175e4",
  "rgb": {
    "r": 65,
    "g": 117,
    "b": 228
  },
  "hsl": {
    "h": 220.859,
    "s": 75.115,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58612,
    "c": 0.17787,
    "h": 263.1
  },
  "luminance": 0.19448
}

Semantic roles & 50–950 ramp

primary
#4175E4
secondary
#E1CC9F
accent
#B636F2
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4175E4

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

Preview Lab → · Contrast checker → · Palette generator →

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