#4178CB#4178CB

#4178CB is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.6% C 0.141 H 258.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4178CB
RGBrgb(65, 120, 203)
HSLhsl(216, 57%, 53%)
HSVhsv(216, 68%, 80%)
CMYKcmyk(68%, 40.9%, 0%, 20.4%)
CIE-LABlab(50.53, 8.99, -48.43)
CIE-LCHlch(50.53, 49.26, 280.52°)
OKLaboklab(57.61% -0.0282 -0.1381)
OKLCHoklch(57.61% 0.141 258.5)
XYZxyz(19.6721, 18.8666, 59.0932)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178CB #CB9441
analogous
#41BDCB #4178CB #4F41CB
triadic
#4178CB #CB4178 #78CB41
tetradic
#4178CB #CB41BD #CB9441 #41CB4F
square
#4178CB #CB41BD #CB9441 #41CB4F
split-complementary
#4178CB #CB4F41 #BDCB41
monochromatic
#1F4072 #2C5BA2 #4178CB #719AD8 #A1BCE5

Accessibility & contrast

On white

4.40
#4178CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4178CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178CB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178CB#FFFFFF#000000##000000
##4178CB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4178cb;
/* rgb */ color: rgb(65, 120, 203);
/* oklch */ color: oklch(57.6% 0.141 258.5);
Tailwind
colors: {
  custom: {
    50: '#849edb',
    500: '#4178cb',
    950: '#000000',
  },
}
SCSS
$custom: #4178cb;
$custom-light: #849edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4178cb",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 216.087,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5761,
    "c": 0.14096,
    "h": 258.5
  },
  "luminance": 0.18869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4178CB

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

Preview Lab → · Contrast checker → · Palette generator →

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