#4178BD#4178BD

#4178BD is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.122 H 255.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4178BD
RGBrgb(65, 120, 189)
HSLhsl(213, 49%, 50%)
HSVhsv(213, 66%, 74%)
CMYKcmyk(65.6%, 36.5%, 0%, 25.9%)
CIE-LABlab(49.77, 4.04, -41.62)
CIE-LCHlch(49.77, 41.81, 275.55°)
OKLaboklab(56.77% -0.0314 -0.1182)
OKLCHoklch(56.77% 0.122 255.1)
XYZxyz(18.0784, 18.2291, 50.7001)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178BD #BD8641
analogous
#41B6BD #4178BD #4841BD
triadic
#4178BD #BD4178 #78BD41
tetradic
#4178BD #BD41B6 #BD8641 #41BD48
square
#4178BD #BD41B6 #BD8641 #41BD48
split-complementary
#4178BD #BD4841 #B6BD41
monochromatic
#223E62 #315B8F #4178BD #6E98CD #9CB9DD

Accessibility & contrast

On white

4.52
#4178BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#4178BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178BD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178BD#FFFFFF#000000##000000
##4178BD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#008891
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4178bd;
/* rgb */ color: rgb(65, 120, 189);
/* oklch */ color: oklch(56.8% 0.122 255.1);
Tailwind
colors: {
  custom: {
    50: '#829ed1',
    500: '#4178bd',
    950: '#000000',
  },
}
SCSS
$custom: #4178bd;
$custom-light: #829ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4178bd",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 189
  },
  "hsl": {
    "h": 213.387,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.12226,
    "h": 255.1
  },
  "luminance": 0.18231
}

Semantic roles & 50–950 ramp

primary
#4178BD
secondary
#C9B091
accent
#9C4FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4178BD

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

Preview Lab → · Contrast checker → · Palette generator →

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