#407FCA#407FCA

#407FCA is a mid, vivid cyan. Relative luminance 0.205; OKLCH L 59.1% C 0.132 H 254.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#407FCA
RGBrgb(64, 127, 202)
HSLhsl(213, 57%, 52%)
HSVhsv(213, 68%, 79%)
CMYKcmyk(68.3%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.43, 4.20, -44.84)
CIE-LCHlch(52.43, 45.04, 275.36°)
OKLaboklab(59.06% -0.0359 -0.1275)
OKLCHoklch(59.06% 0.132 254.3)
XYZxyz(20.3605, 20.5309, 58.7555)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FCA #CA8B40
analogous
#40C4CA #407FCA #4640CA
triadic
#407FCA #CA407F #7FCA40
tetradic
#407FCA #CA40C4 #CA8B40 #40CA46
square
#407FCA #CA40C4 #CA8B40 #40CA46
split-complementary
#407FCA #CA4640 #C4CA40
monochromatic
#1F4470 #2C61A0 #407FCA #709FD7 #A0BFE5

Accessibility & contrast

On white

4.11
#407FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#407FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FCA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FCA#FFFFFF#000000##000000
##407FCA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#00909B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #407fca;
/* rgb */ color: rgb(64, 127, 202);
/* oklch */ color: oklch(59.1% 0.132 254.3);
Tailwind
colors: {
  custom: {
    50: '#84a3da',
    500: '#407fca',
    950: '#000000',
  },
}
SCSS
$custom: #407fca;
$custom-light: #84a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#407fca",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 212.609,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59061,
    "c": 0.13247,
    "h": 254.3
  },
  "luminance": 0.20533
}

Semantic roles & 50–950 ramp

primary
#407FCA
secondary
#D1B695
accent
#9B48E0
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #407FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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