#407CCB#407CCB

#407CCB is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.5% C 0.137 H 256.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#407CCB
RGBrgb(64, 124, 203)
HSLhsl(214, 57%, 52%)
HSVhsv(214, 68%, 80%)
CMYKcmyk(68.5%, 38.9%, 0%, 20.4%)
CIE-LABlab(51.63, 6.38, -46.69)
CIE-LCHlch(51.63, 47.12, 277.78°)
OKLaboklab(58.45% -0.0327 -0.133)
OKLCHoklch(58.45% 0.137 256.2)
XYZxyz(20.0976, 19.8150, 59.2538)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CCB #CB8F40
analogous
#40C1CB #407CCB #4A40CB
triadic
#407CCB #CB407C #7CCB40
tetradic
#407CCB #CB40C1 #CB8F40 #40CB4A
square
#407CCB #CB40C1 #CB8F40 #40CB4A
split-complementary
#407CCB #CB4A40 #C1CB40
monochromatic
#1F4372 #2C5FA2 #407CCB #709DD8 #A0BEE5

Accessibility & contrast

On white

4.23
#407CCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#407CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CCB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CCB#FFFFFF#000000##000000
##407CCB1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5882CE
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#008E9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407ccb;
/* rgb */ color: rgb(64, 124, 203);
/* oklch */ color: oklch(58.5% 0.137 256.2);
Tailwind
colors: {
  custom: {
    50: '#84a1db',
    500: '#407ccb',
    950: '#000000',
  },
}
SCSS
$custom: #407ccb;
$custom-light: #84a1db;
$custom-dark: #000000;
JSON
{
  "hex": "#407ccb",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 203
  },
  "hsl": {
    "h": 214.101,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.13693,
    "h": 256.2
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

primary
#407CCB
secondary
#D2B895
accent
#9E47E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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