#407BC4#407BC4

#407BC4 is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.8% C 0.129 H 254.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#407BC4
RGBrgb(64, 123, 196)
HSLhsl(213, 53%, 51%)
HSVhsv(213, 67%, 77%)
CMYKcmyk(67.3%, 37.2%, 0%, 23.1%)
CIE-LABlab(50.97, 4.51, -43.74)
CIE-LCHlch(50.97, 43.97, 275.89°)
OKLaboklab(57.81% -0.0334 -0.1243)
OKLCHoklch(57.81% 0.129 254.9)
XYZxyz(19.1575, 19.2395, 54.9178)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BC4 #C48940
analogous
#40BDC4 #407BC4 #4740C4
triadic
#407BC4 #C4407B #7BC440
tetradic
#407BC4 #C440BD #C48940 #40C447
square
#407BC4 #C440BD #C48940 #40C447
split-complementary
#407BC4 #C44740 #BDC440
monochromatic
#204169 #2F5E98 #407BC4 #6F9BD2 #9EBCE1

Accessibility & contrast

On white

4.33
#407BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#407BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BC4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BC4#FFFFFF#000000##000000
##407BC41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C7
Deuteranopia (green-blind)
#4774C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407bc4;
/* rgb */ color: rgb(64, 123, 196);
/* oklch */ color: oklch(57.8% 0.129 254.9);
Tailwind
colors: {
  custom: {
    50: '#83a0d6',
    500: '#407bc4',
    950: '#000000',
  },
}
SCSS
$custom: #407bc4;
$custom-light: #83a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#407bc4",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 213.182,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57814,
    "c": 0.12877,
    "h": 254.9
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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