#407BC8#407BC8

#407BC8 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.1% C 0.134 H 256.0°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#407BC8
RGBrgb(64, 123, 200)
HSLhsl(214, 55%, 52%)
HSVhsv(214, 68%, 78%)
CMYKcmyk(68%, 38.5%, 0%, 21.6%)
CIE-LABlab(51.18, 5.93, -45.69)
CIE-LCHlch(51.18, 46.07, 277.39°)
OKLaboklab(58.05% -0.0325 -0.13)
OKLCHoklch(58.05% 0.134 256)
XYZxyz(19.6188, 19.4240, 57.3477)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BC8 #C88D40
analogous
#40BFC8 #407BC8 #4940C8
triadic
#407BC8 #C8407B #7BC840
tetradic
#407BC8 #C840BF #C88D40 #40C849
square
#407BC8 #C840BF #C88D40 #40C849
split-complementary
#407BC8 #C84940 #BFC840
monochromatic
#20426E #2D5E9D #407BC8 #709CD6 #9FBDE3

Accessibility & contrast

On white

4.30
#407BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#407BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BC8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BC8#FFFFFF#000000##000000
##407BC81.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CB
Deuteranopia (green-blind)
#4474C6
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407bc8;
/* rgb */ color: rgb(64, 123, 200);
/* oklch */ color: oklch(58.1% 0.134 256.0);
Tailwind
colors: {
  custom: {
    50: '#83a0d9',
    500: '#407bc8',
    950: '#000000',
  },
}
SCSS
$custom: #407bc8;
$custom-light: #83a0d9;
$custom-dark: #000000;
JSON
{
  "hex": "#407bc8",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 200
  },
  "hsl": {
    "h": 213.971,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5805,
    "c": 0.13404,
    "h": 256
  },
  "luminance": 0.19426
}

Semantic roles & 50–950 ramp

primary
#407BC8
secondary
#D0B694
accent
#9E49DF
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #407BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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