#4080C1#4080C1

#4080C1 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.8% C 0.120 H 250.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#4080C1
RGBrgb(64, 128, 193)
HSLhsl(210, 51%, 50%)
HSVhsv(210, 67%, 76%)
CMYKcmyk(66.8%, 33.7%, 0%, 24.3%)
CIE-LABlab(52.26, 0.45, -39.98)
CIE-LCHlch(52.26, 39.98, 270.64°)
OKLaboklab(58.78% -0.0393 -0.1133)
OKLCHoklch(58.78% 0.12 250.9)
XYZxyz(19.4556, 20.3766, 53.3495)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080C1 #C18140
analogous
#40C0C1 #4080C1 #4140C1
triadic
#4080C1 #C14080 #80C140
tetradic
#4080C1 #C140C0 #C18140 #40C141
square
#4080C1 #C140C0 #C18140 #40C141
split-complementary
#4080C1 #C14140 #C0C140
monochromatic
#214366 #306294 #4080C1 #6E9FD0 #9CBDDF

Accessibility & contrast

On white

4.14
#4080C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#4080C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080C1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080C1#FFFFFF#000000##000000
##4080C11.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6383C4
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4080c1;
/* rgb */ color: rgb(64, 128, 193);
/* oklch */ color: oklch(58.8% 0.120 250.9);
Tailwind
colors: {
  custom: {
    50: '#82a4d4',
    500: '#4080c1',
    950: '#000000',
  },
}
SCSS
$custom: #4080c1;
$custom-light: #82a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4080c1",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 193
  },
  "hsl": {
    "h": 210.233,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58776,
    "c": 0.11991,
    "h": 250.9
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#4080C1
secondary
#CBAF92
accent
#944DDA
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4080C1

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

Preview Lab → · Contrast checker → · Palette generator →

#4080C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva