#4084D4#4084D4

#4084D4 is a mid, vivid cyan. Relative luminance 0.223; OKLCH L 60.8% C 0.140 H 254.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4084D4
RGBrgb(64, 132, 212)
HSLhsl(212, 63%, 54%)
HSVhsv(212, 70%, 83%)
CMYKcmyk(69.8%, 37.7%, 0%, 16.9%)
CIE-LABlab(54.39, 4.73, -47.40)
CIE-LCHlch(54.39, 47.63, 275.69°)
OKLaboklab(60.76% -0.0383 -0.1349)
OKLCHoklch(60.76% 0.14 254.2)
XYZxyz(22.2449, 22.3436, 65.4150)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4084D4 #D49040
analogous
#40CED4 #4084D4 #4640D4
triadic
#4084D4 #D44084 #84D440
tetradic
#4084D4 #D440CE #D49040 #40D446
square
#4084D4 #D440CE #D49040 #40D446
split-complementary
#4084D4 #D44640 #CED440
monochromatic
#1C497D #2766AF #4084D4 #72A4DF #A4C4EA

Accessibility & contrast

On white

3.84
#4084D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4084D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4084D4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4084D4#FFFFFF#000000##000000
##4084D41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608AD7
Deuteranopia (green-blind)
#497CD2
Tritanopia (blue-blind)
#0097A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4084d4;
/* rgb */ color: rgb(64, 132, 212);
/* oklch */ color: oklch(60.8% 0.140 254.2);
Tailwind
colors: {
  custom: {
    50: '#85a7e1',
    500: '#4084d4',
    950: '#000000',
  },
}
SCSS
$custom: #4084d4;
$custom-light: #85a7e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4084d4",
  "rgb": {
    "r": 64,
    "g": 132,
    "b": 212
  },
  "hsl": {
    "h": 212.432,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.14025,
    "h": 254.2
  },
  "luminance": 0.22346
}

Semantic roles & 50–950 ramp

primary
#4084D4
secondary
#D7BA98
accent
#9B42E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #4084D4

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

Preview Lab → · Contrast checker → · Palette generator →

#4084D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva