#407FC3#407FC3

#407FC3 is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.7% C 0.123 H 252.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#407FC3
RGBrgb(64, 127, 195)
HSLhsl(211, 52%, 51%)
HSVhsv(211, 67%, 76%)
CMYKcmyk(67.2%, 34.9%, 0%, 23.5%)
CIE-LABlab(52.07, 1.74, -41.42)
CIE-LCHlch(52.07, 41.46, 272.41°)
OKLaboklab(58.66% -0.0377 -0.1175)
OKLCHoklch(58.66% 0.123 252.2)
XYZxyz(19.5504, 20.2069, 54.4892)
Luminance0.2021 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FC3 #C38440
analogous
#40C0C3 #407FC3 #4240C3
triadic
#407FC3 #C3407F #7FC340
tetradic
#407FC3 #C340C0 #C38440 #40C342
square
#407FC3 #C340C0 #C38440 #40C342
split-complementary
#407FC3 #C34240 #C0C340
monochromatic
#214368 #2F6197 #407FC3 #6F9ED2 #9DBDE0

Accessibility & contrast

On white

4.17
#407FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#407FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FC3
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FC3#FFFFFF#000000##000000
##407FC31.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6183C6
Deuteranopia (green-blind)
#4E77C2
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #407fc3;
/* rgb */ color: rgb(64, 127, 195);
/* oklch */ color: oklch(58.7% 0.123 252.2);
Tailwind
colors: {
  custom: {
    50: '#83a3d5',
    500: '#407fc3',
    950: '#000000',
  },
}
SCSS
$custom: #407fc3;
$custom-light: #83a3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#407fc3",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 195
  },
  "hsl": {
    "h": 211.145,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5866,
    "c": 0.12342,
    "h": 252.2
  },
  "luminance": 0.20209
}

Semantic roles & 50–950 ramp

primary
#407FC3
secondary
#CCB192
accent
#974CDC
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #407FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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