#4080D2#4080D2

#4080D2 is a mid, vivid cyan. Relative luminance 0.212; OKLCH L 59.8% C 0.142 H 255.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4080D2
RGBrgb(64, 128, 210)
HSLhsl(214, 62%, 54%)
HSVhsv(214, 70%, 82%)
CMYKcmyk(69.5%, 39%, 0%, 17.6%)
CIE-LABlab(53.15, 6.43, -48.25)
CIE-LCHlch(53.15, 48.67, 277.60°)
OKLaboklab(59.76% -0.035 -0.1375)
OKLCHoklch(59.76% 0.142 255.7)
XYZxyz(21.4621, 21.1792, 63.9172)
Luminance0.2118 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4080D2 #D29240
analogous
#40C9D2 #4080D2 #4940D2
triadic
#4080D2 #D24080 #80D240
tetradic
#4080D2 #D240C9 #D29240 #40D249
square
#4080D2 #D240C9 #D29240 #40D249
split-complementary
#4080D2 #D24940 #C9D240
monochromatic
#1D467B #2962AC #4080D2 #72A1DE #A3C2E9

Accessibility & contrast

On white

4.01
#4080D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#4080D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4080D2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4080D2#FFFFFF#000000##000000
##4080D21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D5
Deuteranopia (green-blind)
#4479D0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4080d2;
/* rgb */ color: rgb(64, 128, 210);
/* oklch */ color: oklch(59.8% 0.142 255.7);
Tailwind
colors: {
  custom: {
    50: '#85a4e0',
    500: '#4080d2',
    950: '#000000',
  },
}
SCSS
$custom: #4080d2;
$custom-light: #85a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4080d2",
  "rgb": {
    "r": 64,
    "g": 128,
    "b": 210
  },
  "hsl": {
    "h": 213.699,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59756,
    "c": 0.14186,
    "h": 255.7
  },
  "luminance": 0.21181
}

Semantic roles & 50–950 ramp

primary
#4080D2
secondary
#D6BB98
accent
#9E43E5
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4080D2

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

Preview Lab → · Contrast checker → · Palette generator →

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