#407DBD#407DBD

#407DBD is a mid, moderate cyan. Relative luminance 0.194; OKLCH L 57.9% C 0.118 H 251.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#407DBD
RGBrgb(64, 125, 189)
HSLhsl(211, 49%, 50%)
HSVhsv(211, 66%, 74%)
CMYKcmyk(66.1%, 33.9%, 0%, 25.9%)
CIE-LABlab(51.19, 0.85, -39.39)
CIE-LCHlch(51.19, 39.39, 271.23°)
OKLaboklab(57.87% -0.0373 -0.1116)
OKLCHoklch(57.87% 0.118 251.5)
XYZxyz(18.6299, 19.4295, 50.9027)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DBD #BD8040
analogous
#40BCBD #407DBD #4240BD
triadic
#407DBD #BD407D #7DBD40
tetradic
#407DBD #BD40BC #BD8040 #40BD42
square
#407DBD #BD40BC #BD8040 #40BD42
split-complementary
#407DBD #BD4240 #BCBD40
monochromatic
#214162 #315F8F #407DBD #6D9CCD #9ABBDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##407DBD#FFFFFF#000000##000000
##407DBD1.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)
#6180C0
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407dbd;
/* rgb */ color: rgb(64, 125, 189);
/* oklch */ color: oklch(57.9% 0.118 251.5);
Tailwind
colors: {
  custom: {
    50: '#82a2d1',
    500: '#407dbd',
    950: '#000000',
  },
}
SCSS
$custom: #407dbd;
$custom-light: #82a2d1;
$custom-dark: #000000;
JSON
{
  "hex": "#407dbd",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 189
  },
  "hsl": {
    "h": 210.72,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57868,
    "c": 0.11767,
    "h": 251.5
  },
  "luminance": 0.19431
}

Semantic roles & 50–950 ramp

primary
#407DBD
secondary
#C9AD90
accent
#964FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #407DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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