#4178B2#4178B2

#4178B2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.108 H 251.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4178B2
RGBrgb(65, 120, 178)
HSLhsl(211, 47%, 48%)
HSVhsv(211, 63%, 70%)
CMYKcmyk(63.5%, 32.6%, 0%, 30.2%)
CIE-LABlab(49.22, 0.22, -36.15)
CIE-LCHlch(49.22, 36.15, 270.35°)
OKLaboklab(56.16% -0.0344 -0.1022)
OKLCHoklch(56.16% 0.108 251.4)
XYZxyz(16.9294, 17.7695, 44.6485)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178B2 #B27B41
analogous
#41B1B2 #4178B2 #4241B2
triadic
#4178B2 #B24178 #78B241
tetradic
#4178B2 #B241B1 #B27B41 #41B242
square
#4178B2 #B241B1 #B27B41 #41B242
split-complementary
#4178B2 #B24241 #B1B241
monochromatic
#203C58 #315A85 #4178B2 #6897C8 #95B6D8

Accessibility & contrast

On white

4.61
#4178B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#4178B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4178B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178B2#FFFFFF#000000##FFFFFF
##4178B21.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#5070B1
Tritanopia (blue-blind)
#00858D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4178b2;
/* rgb */ color: rgb(65, 120, 178);
/* oklch */ color: oklch(56.2% 0.108 251.4);
Tailwind
colors: {
  custom: {
    50: '#809ec9',
    500: '#4178b2',
    950: '#000000',
  },
}
SCSS
$custom: #4178b2;
$custom-light: #809ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#4178b2",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 178
  },
  "hsl": {
    "h": 210.796,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56155,
    "c": 0.10783,
    "h": 251.4
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#4178B2
secondary
#C4A88B
accent
#9652D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #4178B2

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

Preview Lab → · Contrast checker → · Palette generator →

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