#4179DB#4179DB

#4179DB is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.8% C 0.161 H 260.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4179DB
RGBrgb(65, 121, 219)
HSLhsl(218, 68%, 56%)
HSVhsv(218, 70%, 86%)
CMYKcmyk(70.3%, 44.7%, 0%, 14.1%)
CIE-LABlab(51.74, 14.09, -55.58)
CIE-LCHlch(51.74, 57.34, 284.23°)
OKLaboklab(58.84% -0.026 -0.1591)
OKLCHoklch(58.84% 0.161 260.7)
XYZxyz(21.7989, 19.9107, 69.6984)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179DB #DBA341
analogous
#41C6DB #4179DB #5641DB
triadic
#4179DB #DB4179 #79DB41
tetradic
#4179DB #DB41C6 #DBA341 #41DB56
square
#4179DB #DB41C6 #DBA341 #41DB56
split-complementary
#4179DB #DB5641 #C6DB41
monochromatic
#1A4288 #235BBB #4179DB #749DE5 #A8C2EE

Accessibility & contrast

On white

4.21
#4179DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4179DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179DB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179DB#FFFFFF#000000##000000
##4179DB1.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#2975D9
Tritanopia (blue-blind)
#00909F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4179db;
/* rgb */ color: rgb(65, 121, 219);
/* oklch */ color: oklch(58.8% 0.161 260.7);
Tailwind
colors: {
  custom: {
    50: '#879fe7',
    500: '#4179db',
    950: '#000000',
  },
}
SCSS
$custom: #4179db;
$custom-light: #879fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4179db",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 219
  },
  "hsl": {
    "h": 218.182,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.16122,
    "h": 260.7
  },
  "luminance": 0.19913
}

Semantic roles & 50–950 ramp

primary
#4179DB
secondary
#DCC59C
accent
#AC3DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4179DB

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

Preview Lab → · Contrast checker → · Palette generator →

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