#4179EA#4179EA

#4179EA is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.8% C 0.181 H 262.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4179EA
RGBrgb(65, 121, 234)
HSLhsl(220, 80%, 59%)
HSVhsv(220, 72%, 92%)
CMYKcmyk(72.2%, 48.3%, 0%, 8.2%)
CIE-LABlab(52.66, 19.48, -62.52)
CIE-LCHlch(52.66, 65.48, 287.31°)
OKLaboklab(59.85% -0.0237 -0.1795)
OKLCHoklch(59.85% 0.181 262.5)
XYZxyz(23.8633, 20.7365, 80.5708)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179EA #EAB241
analogous
#41CEEA #4179EA #5D41EA
triadic
#4179EA #EA4179 #79EA41
tetradic
#4179EA #EA41CE #EAB241 #41EA5D
square
#4179EA #EA41CE #EAB241 #41EA5D
split-complementary
#4179EA #EA5D41 #CEEA41
monochromatic
#12409F #1857D6 #4179EA #78A0F0 #AFC7F6

Accessibility & contrast

On white

4.08
#4179EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4179EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179EA#FFFFFF#000000##000000
##4179EA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986EE
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4179ea;
/* rgb */ color: rgb(65, 121, 234);
/* oklch */ color: oklch(59.8% 0.181 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9ff1',
    500: '#4179ea',
    950: '#000000',
  },
}
SCSS
$custom: #4179ea;
$custom-light: #8a9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#4179ea",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 220.118,
    "s": 80.095,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.18109,
    "h": 262.5
  },
  "luminance": 0.20739
}

Semantic roles & 50–950 ramp

primary
#4179EA
secondary
#E5CFA2
accent
#B531F7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E17
muted
#7E7E85

Preview Lab

Preview with #4179EA

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

Preview Lab → · Contrast checker → · Palette generator →

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