#407CC4#407CC4

#407CC4 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.128 H 254.4°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407CC4
RGBrgb(64, 124, 196)
HSLhsl(213, 53%, 51%)
HSVhsv(213, 67%, 77%)
CMYKcmyk(67.3%, 36.7%, 0%, 23.1%)
CIE-LABlab(51.25, 3.90, -43.29)
CIE-LCHlch(51.25, 43.46, 275.15°)
OKLaboklab(58.04% -0.0344 -0.123)
OKLCHoklch(58.04% 0.128 254.4)
XYZxyz(19.2822, 19.4888, 54.9594)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CC4 #C48840
analogous
#40BEC4 #407CC4 #4640C4
triadic
#407CC4 #C4407C #7CC440
tetradic
#407CC4 #C440BE #C48840 #40C446
square
#407CC4 #C440BE #C48840 #40C446
split-complementary
#407CC4 #C44640 #BEC440
monochromatic
#204169 #2F5F98 #407CC4 #6F9CD2 #9EBCE1

Accessibility & contrast

On white

4.29
#407CC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407CC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CC4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CC4#FFFFFF#000000##000000
##407CC41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#4974C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407cc4;
/* rgb */ color: rgb(64, 124, 196);
/* oklch */ color: oklch(58.0% 0.128 254.4);
Tailwind
colors: {
  custom: {
    50: '#83a1d6',
    500: '#407cc4',
    950: '#000000',
  },
}
SCSS
$custom: #407cc4;
$custom-light: #83a1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#407cc4",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 196
  },
  "hsl": {
    "h": 212.727,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.58039,
    "c": 0.12774,
    "h": 254.4
  },
  "luminance": 0.19491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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