#4179D2#4179D2

#4179D2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.3% C 0.149 H 259.3°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4179D2
RGBrgb(65, 121, 210)
HSLhsl(217, 62%, 54%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(69%, 42.4%, 0%, 17.6%)
CIE-LABlab(51.21, 10.87, -51.33)
CIE-LCHlch(51.21, 52.47, 281.96°)
OKLaboklab(58.26% -0.0277 -0.1466)
OKLCHoklch(58.26% 0.149 259.3)
XYZxyz(20.6460, 19.4496, 63.6263)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4179D2 #D29A41
analogous
#41C1D2 #4179D2 #5241D2
triadic
#4179D2 #D24179 #79D241
tetradic
#4179D2 #D241C1 #D29A41 #41D252
square
#4179D2 #D241C1 #D29A41 #41D252
split-complementary
#4179D2 #D25241 #C1D241
monochromatic
#1D427B #295CAD #4179D2 #729CDE #A4BFE9

Accessibility & contrast

On white

4.29
#4179D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4179D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4179D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4179D2#FFFFFF#000000##000000
##4179D21.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)
#4F81D5
Deuteranopia (green-blind)
#3674D0
Tritanopia (blue-blind)
#008E9B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4179d2;
/* rgb */ color: rgb(65, 121, 210);
/* oklch */ color: oklch(58.3% 0.149 259.3);
Tailwind
colors: {
  custom: {
    50: '#869fe0',
    500: '#4179d2',
    950: '#000000',
  },
}
SCSS
$custom: #4179d2;
$custom-light: #869fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4179d2",
  "rgb": {
    "r": 65,
    "g": 121,
    "b": 210
  },
  "hsl": {
    "h": 216.828,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.14921,
    "h": 259.3
  },
  "luminance": 0.19452
}

Semantic roles & 50–950 ramp

primary
#4179D2
secondary
#D6BE98
accent
#A643E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4179D2

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

Preview Lab → · Contrast checker → · Palette generator →

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