#407DC1#407DC1

#407DC1 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.1% C 0.123 H 252.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#407DC1
RGBrgb(64, 125, 193)
HSLhsl(212, 51%, 50%)
HSVhsv(212, 67%, 76%)
CMYKcmyk(66.8%, 35.2%, 0%, 24.3%)
CIE-LABlab(51.39, 2.25, -41.36)
CIE-LCHlch(51.39, 41.42, 273.11°)
OKLaboklab(58.09% -0.0362 -0.1174)
OKLCHoklch(58.09% 0.123 252.8)
XYZxyz(19.0701, 19.6055, 53.2210)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DC1 #C18440
analogous
#40BDC1 #407DC1 #4340C1
triadic
#407DC1 #C1407D #7DC140
tetradic
#407DC1 #C140BD #C18440 #40C143
square
#407DC1 #C140BD #C18440 #40C143
split-complementary
#407DC1 #C14340 #BDC140
monochromatic
#214166 #305F94 #407DC1 #6E9CD0 #9CBCDF

Accessibility & contrast

On white

4.27
#407DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#407DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DC1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DC1#FFFFFF#000000##000000
##407DC11.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F81C4
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407dc1;
/* rgb */ color: rgb(64, 125, 193);
/* oklch */ color: oklch(58.1% 0.123 252.8);
Tailwind
colors: {
  custom: {
    50: '#82a2d4',
    500: '#407dc1',
    950: '#000000',
  },
}
SCSS
$custom: #407dc1;
$custom-light: #82a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#407dc1",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 193
  },
  "hsl": {
    "h": 211.628,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58093,
    "c": 0.12282,
    "h": 252.8
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#407DC1
secondary
#CBB092
accent
#984DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407DC1

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

Preview Lab → · Contrast checker → · Palette generator →

#407DC1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva