#4178BA#4178BA

#4178BA is a mid, moderate cyan. Relative luminance 0.181; OKLCH L 56.6% C 0.118 H 254.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4178BA
RGBrgb(65, 120, 186)
HSLhsl(213, 48%, 49%)
HSVhsv(213, 65%, 73%)
CMYKcmyk(65.1%, 35.5%, 0%, 27.1%)
CIE-LABlab(49.62, 3.00, -40.13)
CIE-LCHlch(49.62, 40.25, 274.27°)
OKLaboklab(56.6% -0.0322 -0.1138)
OKLCHoklch(56.6% 0.118 254.2)
XYZxyz(17.7562, 18.1002, 49.0028)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4178BA #BA8341
analogous
#41B5BA #4178BA #4741BA
triadic
#4178BA #BA4178 #78BA41
tetradic
#4178BA #BA41B5 #BA8341 #41BA47
square
#4178BA #BA41B5 #BA8341 #41BA47
split-complementary
#4178BA #BA4741 #B5BA41
monochromatic
#213D5F #315B8D #4178BA #6C98CC #9AB8DC

Accessibility & contrast

On white

4.55
#4178BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4178BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4178BA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4178BA#FFFFFF#000000##000000
##4178BA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBD
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#008790
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4178ba;
/* rgb */ color: rgb(65, 120, 186);
/* oklch */ color: oklch(56.6% 0.118 254.2);
Tailwind
colors: {
  custom: {
    50: '#819ecf',
    500: '#4178ba',
    950: '#000000',
  },
}
SCSS
$custom: #4178ba;
$custom-light: #819ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#4178ba",
  "rgb": {
    "r": 65,
    "g": 120,
    "b": 186
  },
  "hsl": {
    "h": 212.727,
    "s": 48.207,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.11829,
    "h": 254.2
  },
  "luminance": 0.18102
}

Semantic roles & 50–950 ramp

primary
#4178BA
secondary
#C8AE8F
accent
#9A50D8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4178BA

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

Preview Lab → · Contrast checker → · Palette generator →

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