#4078C2#4078C2

#4078C2 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 57.0% C 0.129 H 256.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#4078C2
RGBrgb(64, 120, 194)
HSLhsl(214, 52%, 51%)
HSVhsv(214, 67%, 76%)
CMYKcmyk(67%, 38.1%, 0%, 23.9%)
CIE-LABlab(50.00, 5.64, -44.13)
CIE-LCHlch(50.00, 44.49, 277.28°)
OKLaboklab(57.02% -0.0309 -0.1255)
OKLCHoklch(57.02% 0.129 256.2)
XYZxyz(18.5649, 18.4161, 53.6048)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4078C2 #C28A40
analogous
#40B9C2 #4078C2 #4940C2
triadic
#4078C2 #C24078 #78C240
tetradic
#4078C2 #C240B9 #C28A40 #40C249
square
#4078C2 #C240B9 #C28A40 #40C249
split-complementary
#4078C2 #C24940 #B9C240
monochromatic
#213F67 #305B95 #4078C2 #6E99D1 #9DBAE0

Accessibility & contrast

On white

4.48
#4078C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#4078C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4078C2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4078C2#FFFFFF#000000##000000
##4078C21.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#577EC5
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#008994
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4078c2;
/* rgb */ color: rgb(64, 120, 194);
/* oklch */ color: oklch(57.0% 0.129 256.2);
Tailwind
colors: {
  custom: {
    50: '#829ed5',
    500: '#4078c2',
    950: '#000000',
  },
}
SCSS
$custom: #4078c2;
$custom-light: #829ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#4078c2",
  "rgb": {
    "r": 64,
    "g": 120,
    "b": 194
  },
  "hsl": {
    "h": 214.154,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57024,
    "c": 0.1293,
    "h": 256.2
  },
  "luminance": 0.18418
}

Semantic roles & 50–950 ramp

primary
#4078C2
secondary
#CCB392
accent
#9E4DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4078C2

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

Preview Lab → · Contrast checker → · Palette generator →

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