#407BCC#407BCC

#407BCC is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.3% C 0.139 H 256.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#407BCC
RGBrgb(64, 123, 204)
HSLhsl(215, 58%, 53%)
HSVhsv(215, 69%, 80%)
CMYKcmyk(68.6%, 39.7%, 0%, 20%)
CIE-LABlab(51.40, 7.35, -47.62)
CIE-LCHlch(51.40, 48.19, 278.77°)
OKLaboklab(58.29% -0.0316 -0.1357)
OKLCHoklch(58.29% 0.139 256.9)
XYZxyz(20.0924, 19.6135, 59.8419)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BCC #CC9140
analogous
#40C1CC #407BCC #4B40CC
triadic
#407BCC #CC407B #7BCC40
tetradic
#407BCC #CC40C1 #CC9140 #40CC4B
square
#407BCC #CC40C1 #CC9140 #40CC4B
split-complementary
#407BCC #CC4B40 #C1CC40
monochromatic
#1F4273 #2C5EA3 #407BCC #709CD9 #A1BEE6

Accessibility & contrast

On white

4.27
#407BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#407BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BCC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BCC#FFFFFF#000000##000000
##407BCC1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#4074CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407bcc;
/* rgb */ color: rgb(64, 123, 204);
/* oklch */ color: oklch(58.3% 0.139 256.9);
Tailwind
colors: {
  custom: {
    50: '#84a0dc',
    500: '#407bcc',
    950: '#000000',
  },
}
SCSS
$custom: #407bcc;
$custom-light: #84a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#407bcc",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 214.714,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5829,
    "c": 0.13934,
    "h": 256.9
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

primary
#407BCC
secondary
#D2B995
accent
#A047E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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