#4178CE#4178CE

#4178CE is a mid, vivid blue. Relative luminance 0.190; OKLCH L 57.8% C 0.145 H 259.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4178CE
RGBrgb(65, 120, 206)
HSLhsl(217, 59%, 53%)
HSVhsv(217, 68%, 81%)
CMYKcmyk(68.4%, 41.7%, 0%, 19.2%)
CIE-LABlab(50.70, 10.06, -49.87)
CIE-LCHlch(50.70, 50.87, 281.40°)
OKLaboklab(57.8% -0.0275 -0.1423)
OKLCHoklch(57.8% 0.145 259.1)
XYZxyz(20.0330, 19.0109, 60.9943)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178CE #CE9741
analogous
#41BECE #4178CE #5041CE
triadic
#4178CE #CE4178 #78CE41
tetradic
#4178CE #CE41BE #CE9741 #41CE50
square
#4178CE #CE41BE #CE9741 #41CE50
split-complementary
#4178CE #CE5041 #BECE41
monochromatic
#1E4176 #2B5BA7 #4178CE #729BDB #A2BDE7

Accessibility & contrast

On white

4.37
#4178CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4178CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178CE#FFFFFF#000000##000000
##4178CE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#3973CC
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178ce;
/* rgb */ color: rgb(65, 120, 206);
/* oklch */ color: oklch(57.8% 0.145 259.1);
Tailwind
colors: {
  custom: {
    50: '#859edd',
    500: '#4178ce',
    950: '#000000',
  },
}
SCSS
$custom: #4178ce;
$custom-light: #859edd;
$custom-dark: #000000;
JSON
{
  "hex": "#4178ce",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 216.596,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57796,
    "c": 0.14499,
    "h": 259.1
  },
  "luminance": 0.19013
}

Semantic roles & 50–950 ramp

primary
#4178CE
secondary
#D4BC97
accent
#A546E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178CE

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

Preview Lab → · Contrast checker → · Palette generator →

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