#4178CF#4178CF

#4178CF is a mid, vivid blue. Relative luminance 0.191; OKLCH L 57.9% C 0.146 H 259.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4178CF
RGBrgb(65, 120, 207)
HSLhsl(217, 60%, 53%)
HSVhsv(217, 69%, 81%)
CMYKcmyk(68.6%, 42%, 0%, 18.8%)
CIE-LABlab(50.76, 10.42, -50.35)
CIE-LCHlch(50.76, 51.41, 281.69°)
OKLaboklab(57.86% -0.0273 -0.1437)
OKLCHoklch(57.86% 0.146 259.2)
XYZxyz(20.1549, 19.0597, 61.6361)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178CF #CF9841
analogous
#41BFCF #4178CF #5141CF
triadic
#4178CF #CF4178 #78CF41
tetradic
#4178CF #CF41BF #CF9841 #41CF51
square
#4178CF #CF41BF #CF9841 #41CF51
split-complementary
#4178CF #CF5141 #BFCF41
monochromatic
#1E4177 #2B5BA8 #4178CF #729BDB #A3BDE8

Accessibility & contrast

On white

4.36
#4178CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4178CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178CF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178CF#FFFFFF#000000##000000
##4178CF1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D2
Deuteranopia (green-blind)
#3773CD
Tritanopia (blue-blind)
#008C99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4178cf;
/* rgb */ color: rgb(65, 120, 207);
/* oklch */ color: oklch(57.9% 0.146 259.2);
Tailwind
colors: {
  custom: {
    50: '#859ede',
    500: '#4178cf',
    950: '#000000',
  },
}
SCSS
$custom: #4178cf;
$custom-light: #859ede;
$custom-dark: #000000;
JSON
{
  "hex": "#4178cf",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 216.761,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57859,
    "c": 0.14632,
    "h": 259.2
  },
  "luminance": 0.19062
}

Semantic roles & 50–950 ramp

primary
#4178CF
secondary
#D4BD97
accent
#A645E3
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178CF

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

Preview Lab → · Contrast checker → · Palette generator →

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