#407DB1#407DB1

#407DB1 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.2% C 0.103 H 246.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#407DB1
RGBrgb(64, 125, 177)
HSLhsl(208, 47%, 47%)
HSVhsv(208, 64%, 69%)
CMYKcmyk(63.8%, 29.4%, 0%, 30.6%)
CIE-LABlab(50.60, -3.29, -33.39)
CIE-LCHlch(50.60, 33.55, 264.37°)
OKLaboklab(57.22% -0.0408 -0.0941)
OKLCHoklch(57.22% 0.103 246.6)
XYZxyz(17.3808, 18.9298, 44.3243)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB1 #B17440
analogous
#40B1AD #407DB1 #4044B1
triadic
#407DB1 #B1407D #7DB140
tetradic
#407DB1 #AD40B1 #B17440 #44B140
square
#407DB1 #AD40B1 #B17440 #44B140
split-complementary
#407DB1 #B14044 #B1AD40
monochromatic
#1F3E57 #305D84 #407DB1 #669BC8 #93B8D8

Accessibility & contrast

On white

4.39
#407DB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#407DB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB1#FFFFFF#000000##000000
##407DB11.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB3
Deuteranopia (green-blind)
#5774B0
Tritanopia (blue-blind)
#00898F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407db1;
/* rgb */ color: rgb(64, 125, 177);
/* oklch */ color: oklch(57.2% 0.103 246.6);
Tailwind
colors: {
  custom: {
    50: '#80a2c8',
    500: '#407db1',
    950: '#000000',
  },
}
SCSS
$custom: #407db1;
$custom-light: #80a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#407db1",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 207.611,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.10262,
    "h": 246.6
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#407DB1
secondary
#C3A489
accent
#8F51D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #407DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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