#4178CA#4178CA

#4178CA is a mid, vivid blue. Relative luminance 0.188; OKLCH L 57.5% C 0.140 H 258.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#4178CA
RGBrgb(65, 120, 202)
HSLhsl(216, 56%, 52%)
HSVhsv(216, 68%, 79%)
CMYKcmyk(67.8%, 40.6%, 0%, 20.8%)
CIE-LABlab(50.47, 8.64, -47.95)
CIE-LCHlch(50.47, 48.72, 280.21°)
OKLaboklab(57.55% -0.0284 -0.1367)
OKLCHoklch(57.55% 0.14 258.3)
XYZxyz(19.5533, 18.8190, 58.4676)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178CA #CA9341
analogous
#41BDCA #4178CA #4E41CA
triadic
#4178CA #CA4178 #78CA41
tetradic
#4178CA #CA41BD #CA9341 #41CA4E
square
#4178CA #CA41BD #CA9341 #41CA4E
split-complementary
#4178CA #CA4E41 #BDCA41
monochromatic
#204071 #2D5BA1 #4178CA #719AD7 #A1BCE5

Accessibility & contrast

On white

4.41
#4178CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#4178CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178CA#FFFFFF#000000##000000
##4178CA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#008B97
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4178ca;
/* rgb */ color: rgb(65, 120, 202);
/* oklch */ color: oklch(57.5% 0.140 258.3);
Tailwind
colors: {
  custom: {
    50: '#849eda',
    500: '#4178ca',
    950: '#000000',
  },
}
SCSS
$custom: #4178ca;
$custom-light: #849eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4178ca",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 215.912,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57549,
    "c": 0.13962,
    "h": 258.3
  },
  "luminance": 0.18821
}

Semantic roles & 50–950 ramp

primary
#4178CA
secondary
#D1B996
accent
#A348E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4178CA

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

Preview Lab → · Contrast checker → · Palette generator →

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