#4078C0#4078C0

#4078C0 is a mid, vivid cyan. Relative luminance 0.183; OKLCH L 56.9% C 0.127 H 255.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#4078C0
RGBrgb(64, 120, 192)
HSLhsl(214, 50%, 50%)
HSVhsv(214, 67%, 75%)
CMYKcmyk(66.7%, 37.5%, 0%, 24.7%)
CIE-LABlab(49.89, 4.93, -43.16)
CIE-LCHlch(49.89, 43.44, 276.51°)
OKLaboklab(56.91% -0.0314 -0.1227)
OKLCHoklch(56.91% 0.127 255.6)
XYZxyz(18.3418, 18.3269, 52.4298)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078C0 #C08840
analogous
#40B8C0 #4078C0 #4840C0
triadic
#4078C0 #C04078 #78C040
tetradic
#4078C0 #C040B8 #C08840 #40C048
square
#4078C0 #C040B8 #C08840 #40C048
split-complementary
#4078C0 #C04840 #B8C040
monochromatic
#213F64 #305B92 #4078C0 #6E99CF #9CB9DE

Accessibility & contrast

On white

4.50
#4078C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#4078C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078C0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078C0#FFFFFF#000000##000000
##4078C01.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#587DC3
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4078c0;
/* rgb */ color: rgb(64, 120, 192);
/* oklch */ color: oklch(56.9% 0.127 255.6);
Tailwind
colors: {
  custom: {
    50: '#829ed3',
    500: '#4078c0',
    950: '#000000',
  },
}
SCSS
$custom: #4078c0;
$custom-light: #829ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4078c0",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 192
  },
  "hsl": {
    "h": 213.75,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.12664,
    "h": 255.6
  },
  "luminance": 0.18329
}

Semantic roles & 50–950 ramp

primary
#4078C0
secondary
#CBB191
accent
#9D4EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4078C0

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

Preview Lab → · Contrast checker → · Palette generator →

#4078C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva