#4178A7#4178A7

#4178A7 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.6% C 0.094 H 246.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4178A7
RGBrgb(65, 120, 167)
HSLhsl(208, 44%, 45%)
HSVhsv(208, 61%, 65%)
CMYKcmyk(61.1%, 28.1%, 0%, 34.5%)
CIE-LABlab(48.69, -3.52, -30.57)
CIE-LCHlch(48.69, 30.78, 263.42°)
OKLaboklab(55.57% -0.0377 -0.086)
OKLCHoklch(55.57% 0.094 246.3)
XYZxyz(15.8689, 17.3453, 39.0634)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178A7 #A77041
analogous
#41A7A3 #4178A7 #4145A7
triadic
#4178A7 #A74178 #78A741
tetradic
#4178A7 #A341A7 #A77041 #45A741
square
#4178A7 #A341A7 #A77041 #45A741
split-complementary
#4178A7 #A74145 #A7A341
monochromatic
#1F394F #30587B #4178A7 #6396C2 #8FB4D3

Accessibility & contrast

On white

4.70
#4178A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#4178A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4178A7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178A7#FFFFFF#000000##FFFFFF
##4178A71.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A9
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#008388
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4178a7;
/* rgb */ color: rgb(65, 120, 167);
/* oklch */ color: oklch(55.6% 0.094 246.3);
Tailwind
colors: {
  custom: {
    50: '#7f9ec1',
    500: '#4178a7',
    950: '#000000',
  },
}
SCSS
$custom: #4178a7;
$custom-light: #7f9ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#4178a7",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 167
  },
  "hsl": {
    "h": 207.647,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.55572,
    "c": 0.09393,
    "h": 246.3
  },
  "luminance": 0.17347
}

Semantic roles & 50–950 ramp

primary
#4178A7
secondary
#BFA085
accent
#8F54D4
background
#F8F9FB
surface
#EFF2F7
border
#CACCD0
text
#0B0E12
muted
#7C7E81

Preview Lab

Preview with #4178A7

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

Preview Lab → · Contrast checker → · Palette generator →

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