#407CC3#407CC3

#407CC3 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.0% C 0.126 H 254.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#407CC3
RGBrgb(64, 124, 195)
HSLhsl(213, 52%, 51%)
HSVhsv(213, 67%, 76%)
CMYKcmyk(67.2%, 36.4%, 0%, 23.5%)
CIE-LABlab(51.20, 3.55, -42.80)
CIE-LCHlch(51.20, 42.94, 274.74°)
OKLaboklab(57.98% -0.0347 -0.1216)
OKLCHoklch(57.98% 0.126 254.1)
XYZxyz(19.1687, 19.4435, 54.3619)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC3 #C38740
analogous
#40BDC3 #407CC3 #4540C3
triadic
#407CC3 #C3407C #7CC340
tetradic
#407CC3 #C340BD #C38740 #40C345
square
#407CC3 #C340BD #C38740 #40C345
split-complementary
#407CC3 #C34540 #BDC340
monochromatic
#214168 #2F5F97 #407CC3 #6F9CD2 #9DBCE0

Accessibility & contrast

On white

4.30
#407CC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#407CC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC3#FFFFFF#000000##000000
##407CC31.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C6
Deuteranopia (green-blind)
#4A74C2
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407cc3;
/* rgb */ color: rgb(64, 124, 195);
/* oklch */ color: oklch(58.0% 0.126 254.1);
Tailwind
colors: {
  custom: {
    50: '#83a1d5',
    500: '#407cc3',
    950: '#000000',
  },
}
SCSS
$custom: #407cc3;
$custom-light: #83a1d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc3",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 195
  },
  "hsl": {
    "h": 212.519,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.12642,
    "h": 254.1
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#407CC3
secondary
#CCB292
accent
#9A4CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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