#407CCA#407CCA

#407CCA is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.4% C 0.136 H 255.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#407CCA
RGBrgb(64, 124, 202)
HSLhsl(214, 57%, 52%)
HSVhsv(214, 68%, 79%)
CMYKcmyk(68.3%, 38.6%, 0%, 20.8%)
CIE-LABlab(51.57, 6.03, -46.20)
CIE-LCHlch(51.57, 46.59, 277.43°)
OKLaboklab(58.39% -0.033 -0.1315)
OKLCHoklch(58.39% 0.136 255.9)
XYZxyz(19.9788, 19.7675, 58.6283)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CCA #CA8E40
analogous
#40C1CA #407CCA #4940CA
triadic
#407CCA #CA407C #7CCA40
tetradic
#407CCA #CA40C1 #CA8E40 #40CA49
square
#407CCA #CA40C1 #CA8E40 #40CA49
split-complementary
#407CCA #CA4940 #C1CA40
monochromatic
#1F4370 #2C5FA0 #407CCA #709DD7 #A0BEE5

Accessibility & contrast

On white

4.24
#407CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#407CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CCA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CCA#FFFFFF#000000##000000
##407CCA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #407cca;
/* rgb */ color: rgb(64, 124, 202);
/* oklch */ color: oklch(58.4% 0.136 255.9);
Tailwind
colors: {
  custom: {
    50: '#84a1da',
    500: '#407cca',
    950: '#000000',
  },
}
SCSS
$custom: #407cca;
$custom-light: #84a1da;
$custom-dark: #000000;
JSON
{
  "hex": "#407cca",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 202
  },
  "hsl": {
    "h": 213.913,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.13562,
    "h": 255.9
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#407CCA
secondary
#D1B795
accent
#9E48E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #407CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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