#4077C2#4077C2

#4077C2 is a mid, vivid cyan. Relative luminance 0.182; OKLCH L 56.8% C 0.130 H 256.7°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4077C2
RGBrgb(64, 119, 194)
HSLhsl(215, 52%, 51%)
HSVhsv(215, 67%, 76%)
CMYKcmyk(67%, 38.7%, 0%, 23.9%)
CIE-LABlab(49.71, 6.25, -44.59)
CIE-LCHlch(49.71, 45.03, 277.98°)
OKLaboklab(56.8% -0.0299 -0.1269)
OKLCHoklch(56.8% 0.13 256.7)
XYZxyz(18.4453, 18.1768, 53.5649)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077C2 #C28B40
analogous
#40B8C2 #4077C2 #4A40C2
triadic
#4077C2 #C24077 #77C240
tetradic
#4077C2 #C240B8 #C28B40 #40C24A
square
#4077C2 #C240B8 #C28B40 #40C24A
split-complementary
#4077C2 #C24A40 #B8C240
monochromatic
#213E67 #305B95 #4077C2 #6E98D1 #9DB9E0

Accessibility & contrast

On white

4.53
#4077C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#4077C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4077C2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077C2#FFFFFF#000000##000000
##4077C21.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC5
Deuteranopia (green-blind)
#4271C0
Tritanopia (blue-blind)
#008893
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4077c2;
/* rgb */ color: rgb(64, 119, 194);
/* oklch */ color: oklch(56.8% 0.130 256.7);
Tailwind
colors: {
  custom: {
    50: '#829dd5',
    500: '#4077c2',
    950: '#000000',
  },
}
SCSS
$custom: #4077c2;
$custom-light: #829dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4077c2",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 194
  },
  "hsl": {
    "h": 214.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.568,
    "c": 0.13038,
    "h": 256.7
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4077C2

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

Preview Lab → · Contrast checker → · Palette generator →

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