#407DC3#407DC3

#407DC3 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.125 H 253.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#407DC3
RGBrgb(64, 125, 195)
HSLhsl(212, 52%, 51%)
HSVhsv(212, 67%, 76%)
CMYKcmyk(67.2%, 35.9%, 0%, 23.5%)
CIE-LABlab(51.49, 2.95, -42.34)
CIE-LCHlch(51.49, 42.44, 273.98°)
OKLaboklab(58.21% -0.0357 -0.1202)
OKLCHoklch(58.21% 0.125 253.5)
XYZxyz(19.2947, 19.6954, 54.4039)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DC3 #C38640
analogous
#40BEC3 #407DC3 #4440C3
triadic
#407DC3 #C3407D #7DC340
tetradic
#407DC3 #C340BE #C38640 #40C344
square
#407DC3 #C340BE #C38640 #40C344
split-complementary
#407DC3 #C34440 #BEC340
monochromatic
#214268 #2F5F97 #407DC3 #6F9DD2 #9DBCE0

Accessibility & contrast

On white

4.25
#407DC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#407DC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DC3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DC3#FFFFFF#000000##000000
##407DC31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C6
Deuteranopia (green-blind)
#4B75C2
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407dc3;
/* rgb */ color: rgb(64, 125, 195);
/* oklch */ color: oklch(58.2% 0.125 253.5);
Tailwind
colors: {
  custom: {
    50: '#83a2d5',
    500: '#407dc3',
    950: '#000000',
  },
}
SCSS
$custom: #407dc3;
$custom-light: #83a2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407dc3",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 195
  },
  "hsl": {
    "h": 212.061,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.12541,
    "h": 253.5
  },
  "luminance": 0.19697
}

Semantic roles & 50–950 ramp

primary
#407DC3
secondary
#CCB192
accent
#994CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #407DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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