#4178D1#4178D1

#4178D1 is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.0% C 0.149 H 259.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#4178D1
RGBrgb(65, 120, 209)
HSLhsl(217, 61%, 54%)
HSVhsv(217, 69%, 82%)
CMYKcmyk(68.9%, 42.6%, 0%, 18%)
CIE-LABlab(50.87, 11.13, -51.30)
CIE-LCHlch(50.87, 52.49, 282.24°)
OKLaboklab(57.99% -0.0269 -0.1466)
OKLCHoklch(57.99% 0.149 259.6)
XYZxyz(20.4009, 19.1581, 62.9320)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178D1 #D19A41
analogous
#41C0D1 #4178D1 #5241D1
triadic
#4178D1 #D14178 #78D141
tetradic
#4178D1 #D141C0 #D19A41 #41D152
square
#4178D1 #D141C0 #D19A41 #41D152
split-complementary
#4178D1 #D15241 #C0D141
monochromatic
#1E417A #295BAB #4178D1 #729BDD #A4BEE9

Accessibility & contrast

On white

4.35
#4178D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#4178D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178D1
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178D1#FFFFFF#000000##000000
##4178D11.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D80D4
Deuteranopia (green-blind)
#3573CF
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178d1;
/* rgb */ color: rgb(65, 120, 209);
/* oklch */ color: oklch(58.0% 0.149 259.6);
Tailwind
colors: {
  custom: {
    50: '#859edf',
    500: '#4178d1',
    950: '#000000',
  },
}
SCSS
$custom: #4178d1;
$custom-light: #859edf;
$custom-dark: #000000;
JSON
{
  "hex": "#4178d1",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 209
  },
  "hsl": {
    "h": 217.083,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57985,
    "c": 0.14901,
    "h": 259.6
  },
  "luminance": 0.1916
}

Semantic roles & 50–950 ramp

primary
#4178D1
secondary
#D6BE98
accent
#A744E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178D1

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

Preview Lab → · Contrast checker → · Palette generator →

#4178D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva