#4077BA#4077BA

#4077BA is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.3% C 0.120 H 254.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#4077BA
RGBrgb(64, 119, 186)
HSLhsl(213, 49%, 49%)
HSVhsv(213, 66%, 73%)
CMYKcmyk(65.6%, 36%, 0%, 27.1%)
CIE-LABlab(49.29, 3.43, -40.66)
CIE-LCHlch(49.29, 40.81, 274.82°)
OKLaboklab(56.33% -0.0319 -0.1154)
OKLCHoklch(56.33% 0.12 254.5)
XYZxyz(17.5709, 17.8271, 48.9598)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4077BA #BA8340
analogous
#40B4BA #4077BA #4640BA
triadic
#4077BA #BA4077 #77BA40
tetradic
#4077BA #BA40B4 #BA8340 #40BA46
square
#4077BA #BA40B4 #BA8340 #40BA46
split-complementary
#4077BA #BA4640 #B4BA40
monochromatic
#213D5F #305A8C #4077BA #6B97CC #99B7DC

Accessibility & contrast

On white

4.60
#4077BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4077BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4077BA
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4077BA#FFFFFF#000000##FFFFFF
##4077BA1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7BBD
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#008690
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4077ba;
/* rgb */ color: rgb(64, 119, 186);
/* oklch */ color: oklch(56.3% 0.120 254.5);
Tailwind
colors: {
  custom: {
    50: '#819dcf',
    500: '#4077ba',
    950: '#000000',
  },
}
SCSS
$custom: #4077ba;
$custom-light: #819dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4077ba",
  "rgb": {
    "r": 64,
    "g": 119,
    "b": 186
  },
  "hsl": {
    "h": 212.951,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56331,
    "c": 0.11972,
    "h": 254.5
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#4077BA
secondary
#C8AE8E
accent
#9B4FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #4077BA

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

Preview Lab → · Contrast checker → · Palette generator →

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