#407CB2#407CB2

#407CB2 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 57.0% C 0.105 H 247.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#407CB2
RGBrgb(64, 124, 178)
HSLhsl(208, 47%, 47%)
HSVhsv(208, 64%, 70%)
CMYKcmyk(64%, 30.3%, 0%, 30.2%)
CIE-LABlab(50.36, -2.36, -34.36)
CIE-LCHlch(50.36, 34.44, 266.08°)
OKLaboklab(57.04% -0.0394 -0.097)
OKLCHoklch(57.04% 0.105 247.9)
XYZxyz(17.3549, 18.7179, 44.8092)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB2 #B27640
analogous
#40B2AF #407CB2 #4043B2
triadic
#407CB2 #B2407C #7CB240
tetradic
#407CB2 #AF40B2 #B27640 #43B240
square
#407CB2 #AF40B2 #B27640 #43B240
split-complementary
#407CB2 #B24043 #B2AF40
monochromatic
#203D58 #305D85 #407CB2 #679AC8 #94B8D8

Accessibility & contrast

On white

4.43
#407CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#407CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407CB2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407CB2#FFFFFF#000000##000000
##407CB21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407cb2;
/* rgb */ color: rgb(64, 124, 178);
/* oklch */ color: oklch(57.0% 0.105 247.9);
Tailwind
colors: {
  custom: {
    50: '#80a1c9',
    500: '#407cb2',
    950: '#000000',
  },
}
SCSS
$custom: #407cb2;
$custom-light: #80a1c9;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb2",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 208.421,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5704,
    "c": 0.10468,
    "h": 247.9
  },
  "luminance": 0.1872
}

Semantic roles & 50–950 ramp

primary
#407CB2
secondary
#C4A58A
accent
#9051D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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