#407DCA#407DCA

#407DCA is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.6% C 0.135 H 255.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#407DCA
RGBrgb(64, 125, 202)
HSLhsl(213, 57%, 52%)
HSVhsv(213, 68%, 79%)
CMYKcmyk(68.3%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.86, 5.42, -45.75)
CIE-LCHlch(51.86, 46.07, 276.75°)
OKLaboklab(58.61% -0.034 -0.1302)
OKLCHoklch(58.61% 0.135 255.4)
XYZxyz(20.1047, 20.0194, 58.6702)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DCA #CA8D40
analogous
#40C2CA #407DCA #4840CA
triadic
#407DCA #CA407D #7DCA40
tetradic
#407DCA #CA40C2 #CA8D40 #40CA48
square
#407DCA #CA40C2 #CA8D40 #40CA48
split-complementary
#407DCA #CA4840 #C2CA40
monochromatic
#1F4370 #2C60A0 #407DCA #709ED7 #A0BEE5

Accessibility & contrast

On white

4.20
#407DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#407DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DCA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DCA#FFFFFF#000000##000000
##407DCA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A83CD
Deuteranopia (green-blind)
#4676C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407dca;
/* rgb */ color: rgb(64, 125, 202);
/* oklch */ color: oklch(58.6% 0.135 255.4);
Tailwind
colors: {
  custom: {
    50: '#84a2da',
    500: '#407dca',
    950: '#000000',
  },
}
SCSS
$custom: #407dca;
$custom-light: #84a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#407dca",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 213.478,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58614,
    "c": 0.13456,
    "h": 255.4
  },
  "luminance": 0.20021
}

Semantic roles & 50–950 ramp

primary
#407DCA
secondary
#D1B695
accent
#9D48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #407DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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