#4179E1#4179E1

#4179E1 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.169 H 261.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4179E1
RGBrgb(65, 121, 225)
HSLhsl(219, 73%, 57%)
HSVhsv(219, 71%, 88%)
CMYKcmyk(71.1%, 46.2%, 0%, 11.8%)
CIE-LABlab(52.10, 16.25, -58.38)
CIE-LCHlch(52.10, 60.59, 285.55°)
OKLaboklab(59.24% -0.025 -0.1673)
OKLCHoklch(59.24% 0.169 261.5)
XYZxyz(22.6031, 20.2324, 73.9336)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179E1 #E1A941
analogous
#41C9E1 #4179E1 #5941E1
triadic
#4179E1 #E14179 #79E141
tetradic
#4179E1 #E141C9 #E1A941 #41E159
square
#4179E1 #E141C9 #E1A941 #41E159
split-complementary
#4179E1 #E15941 #C9E141
monochromatic
#174291 #1F59C6 #4179E1 #769EE9 #ABC4F2

Accessibility & contrast

On white

4.16
#4179E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4179E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179E1
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179E1#FFFFFF#000000##000000
##4179E11.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#1D75DF
Tritanopia (blue-blind)
#0091A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4179e1;
/* rgb */ color: rgb(65, 121, 225);
/* oklch */ color: oklch(59.2% 0.169 261.5);
Tailwind
colors: {
  custom: {
    50: '#889feb',
    500: '#4179e1',
    950: '#000000',
  },
}
SCSS
$custom: #4179e1;
$custom-light: #889feb;
$custom-dark: #000000;
JSON
{
  "hex": "#4179e1",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 225
  },
  "hsl": {
    "h": 219,
    "s": 72.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59237,
    "c": 0.1692,
    "h": 261.5
  },
  "luminance": 0.20235
}

Semantic roles & 50–950 ramp

primary
#4179E1
secondary
#E0C99E
accent
#AF38EF
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4179E1

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

Preview Lab → · Contrast checker → · Palette generator →

#4179E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva