#4178BB#4178BB

#4178BB is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.7% C 0.120 H 254.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4178BB
RGBrgb(65, 120, 187)
HSLhsl(213, 48%, 49%)
HSVhsv(213, 65%, 73%)
CMYKcmyk(65.2%, 35.8%, 0%, 26.7%)
CIE-LABlab(49.67, 3.34, -40.63)
CIE-LCHlch(49.67, 40.77, 274.71°)
OKLaboklab(56.66% -0.0319 -0.1153)
OKLCHoklch(56.66% 0.12 254.5)
XYZxyz(17.8628, 18.1429, 49.5646)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178BB #BB8441
analogous
#41B5BB #4178BB #4741BB
triadic
#4178BB #BB4178 #78BB41
tetradic
#4178BB #BB41B5 #BB8441 #41BB47
square
#4178BB #BB41B5 #BB8441 #41BB47
split-complementary
#4178BB #BB4741 #B5BB41
monochromatic
#213E60 #315B8E #4178BB #6D98CC #9AB8DC

Accessibility & contrast

On white

4.54
#4178BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#4178BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178BB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178BB#FFFFFF#000000##000000
##4178BB1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#4A71BA
Tritanopia (blue-blind)
#008791
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4178bb;
/* rgb */ color: rgb(65, 120, 187);
/* oklch */ color: oklch(56.7% 0.120 254.5);
Tailwind
colors: {
  custom: {
    50: '#829ed0',
    500: '#4178bb',
    950: '#000000',
  },
}
SCSS
$custom: #4178bb;
$custom-light: #829ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4178bb",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 212.951,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56659,
    "c": 0.11961,
    "h": 254.5
  },
  "luminance": 0.18145
}

Semantic roles & 50–950 ramp

primary
#4178BB
secondary
#C8AF90
accent
#9B50D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4178BB

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

Preview Lab → · Contrast checker → · Palette generator →

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