#407CB1#407CB1

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

Color values

HEX#407CB1
RGBrgb(64, 124, 177)
HSLhsl(208, 47%, 47%)
HSVhsv(208, 64%, 69%)
CMYKcmyk(63.8%, 29.9%, 0%, 30.6%)
CIE-LABlab(50.31, -2.70, -33.85)
CIE-LCHlch(50.31, 33.96, 265.44°)
OKLaboklab(56.99% -0.0397 -0.0955)
OKLCHoklch(56.99% 0.103 247.4)
XYZxyz(17.2549, 18.6779, 44.2823)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407CB1 #B17540
analogous
#40B1AE #407CB1 #4043B1
triadic
#407CB1 #B1407C #7CB140
tetradic
#407CB1 #AE40B1 #B17540 #43B140
square
#407CB1 #AE40B1 #B17540 #43B140
split-complementary
#407CB1 #B14043 #B1AE40
monochromatic
#1F3D57 #305D84 #407CB1 #669AC8 #93B8D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407CB1#FFFFFF#000000##000000
##407CB11.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)
#657EB3
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407cb1;
/* rgb */ color: rgb(64, 124, 177);
/* oklch */ color: oklch(57.0% 0.103 247.4);
Tailwind
colors: {
  custom: {
    50: '#80a1c8',
    500: '#407cb1',
    950: '#000000',
  },
}
SCSS
$custom: #407cb1;
$custom-light: #80a1c8;
$custom-dark: #000000;
JSON
{
  "hex": "#407cb1",
  "rgb": {
    "r": 64,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 208.142,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56987,
    "c": 0.10345,
    "h": 247.4
  },
  "luminance": 0.1868
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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