#407BCB#407BCB

#407BCB is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.2% C 0.138 H 256.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#407BCB
RGBrgb(64, 123, 203)
HSLhsl(215, 57%, 52%)
HSVhsv(215, 68%, 80%)
CMYKcmyk(68.5%, 39.4%, 0%, 20.4%)
CIE-LABlab(51.34, 6.99, -47.14)
CIE-LCHlch(51.34, 47.66, 278.44°)
OKLaboklab(58.23% -0.0318 -0.1343)
OKLCHoklch(58.23% 0.138 256.7)
XYZxyz(19.9729, 19.5656, 59.2123)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BCB #CB9040
analogous
#40C1CB #407BCB #4A40CB
triadic
#407BCB #CB407B #7BCB40
tetradic
#407BCB #CB40C1 #CB9040 #40CB4A
square
#407BCB #CB40C1 #CB9040 #40CB4A
split-complementary
#407BCB #CB4A40 #C1CB40
monochromatic
#1F4272 #2C5EA2 #407BCB #709CD8 #A0BDE5

Accessibility & contrast

On white

4.27
#407BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#407BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BCB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BCB#FFFFFF#000000##000000
##407BCB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#4174C9
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407bcb;
/* rgb */ color: rgb(64, 123, 203);
/* oklch */ color: oklch(58.2% 0.138 256.7);
Tailwind
colors: {
  custom: {
    50: '#84a0db',
    500: '#407bcb',
    950: '#000000',
  },
}
SCSS
$custom: #407bcb;
$custom-light: #84a0db;
$custom-dark: #000000;
JSON
{
  "hex": "#407bcb",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 214.532,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5823,
    "c": 0.13802,
    "h": 256.7
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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