#4077C3#4077C3

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

Color values

HEX#4077C3
RGBrgb(64, 119, 195)
HSLhsl(215, 52%, 51%)
HSVhsv(215, 67%, 76%)
CMYKcmyk(67.2%, 39%, 0%, 23.5%)
CIE-LABlab(49.76, 6.60, -45.08)
CIE-LCHlch(49.76, 45.56, 278.33°)
OKLaboklab(56.86% -0.0297 -0.1283)
OKLCHoklch(56.86% 0.132 257)
XYZxyz(18.5579, 18.2219, 54.1583)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077C3 #C38C40
analogous
#40B8C3 #4077C3 #4A40C3
triadic
#4077C3 #C34077 #77C340
tetradic
#4077C3 #C340B8 #C38C40 #40C34A
square
#4077C3 #C340B8 #C38C40 #40C34A
split-complementary
#4077C3 #C34A40 #B8C340
monochromatic
#213F68 #2F5B97 #4077C3 #6F98D2 #9DB9E0

Accessibility & contrast

On white

4.52
#4077C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4077C3#FFFFFF#000000##000000
##4077C31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#557DC6
Deuteranopia (green-blind)
#4171C1
Tritanopia (blue-blind)
#008993
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4077c3;
/* rgb */ color: rgb(64, 119, 195);
/* oklch */ color: oklch(56.9% 0.132 257.0);
Tailwind
colors: {
  custom: {
    50: '#839dd5',
    500: '#4077c3',
    950: '#000000',
  },
}
SCSS
$custom: #4077c3;
$custom-light: #839dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#4077c3",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 195
  },
  "hsl": {
    "h": 214.809,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5686,
    "c": 0.13171,
    "h": 257
  },
  "luminance": 0.18224
}

Semantic roles & 50–950 ramp

primary
#4077C3
secondary
#CCB492
accent
#9F4CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4077C3

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

Preview Lab → · Contrast checker → · Palette generator →

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