#4178DB#4178DB

#4178DB is a mid, vivid blue. Relative luminance 0.197; OKLCH L 58.6% C 0.162 H 261.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#4178DB
RGBrgb(65, 120, 219)
HSLhsl(219, 68%, 56%)
HSVhsv(219, 70%, 86%)
CMYKcmyk(70.3%, 45.2%, 0%, 14.1%)
CIE-LABlab(51.46, 14.71, -56.02)
CIE-LCHlch(51.46, 57.92, 284.71°)
OKLaboklab(58.63% -0.0251 -0.1604)
OKLCHoklch(58.63% 0.162 261.1)
XYZxyz(21.6780, 19.6689, 69.6581)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178DB #DBA441
analogous
#41C5DB #4178DB #5741DB
triadic
#4178DB #DB4178 #78DB41
tetradic
#4178DB #DB41C5 #DBA441 #41DB57
square
#4178DB #DB41C5 #DBA441 #41DB57
split-complementary
#4178DB #DB5741 #C5DB41
monochromatic
#1A4188 #235ABB #4178DB #749DE5 #A8C1EE

Accessibility & contrast

On white

4.26
#4178DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#4178DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178DB#FFFFFF#000000##000000
##4178DB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4178db;
/* rgb */ color: rgb(65, 120, 219);
/* oklch */ color: oklch(58.6% 0.162 261.1);
Tailwind
colors: {
  custom: {
    50: '#879ee7',
    500: '#4178db',
    950: '#000000',
  },
}
SCSS
$custom: #4178db;
$custom-light: #879ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4178db",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 218.571,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58629,
    "c": 0.16238,
    "h": 261.1
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4178DB

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

Preview Lab → · Contrast checker → · Palette generator →

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