#407DBF#407DBF

#407DBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.120 H 252.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407DBF
RGBrgb(64, 125, 191)
HSLhsl(211, 50%, 50%)
HSVhsv(211, 66%, 75%)
CMYKcmyk(66.5%, 34.6%, 0%, 25.1%)
CIE-LABlab(51.29, 1.55, -40.37)
CIE-LCHlch(51.29, 40.40, 272.19°)
OKLaboklab(57.98% -0.0367 -0.1145)
OKLCHoklch(57.98% 0.12 252.2)
XYZxyz(18.8485, 19.5169, 52.0539)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DBF #BF8240
analogous
#40BDBF #407DBF #4240BF
triadic
#407DBF #BF407D #7DBF40
tetradic
#407DBF #BF40BD #BF8240 #40BF42
square
#407DBF #BF40BD #BF8240 #40BF42
split-complementary
#407DBF #BF4240 #BDBF40
monochromatic
#214163 #315F91 #407DBF #6E9CCE #9CBBDE

Accessibility & contrast

On white

4.28
#407DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DBF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DBF#FFFFFF#000000##000000
##407DBF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C2
Deuteranopia (green-blind)
#4E75BE
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407dbf;
/* rgb */ color: rgb(64, 125, 191);
/* oklch */ color: oklch(58.0% 0.120 252.2);
Tailwind
colors: {
  custom: {
    50: '#82a2d2',
    500: '#407dbf',
    950: '#000000',
  },
}
SCSS
$custom: #407dbf;
$custom-light: #82a2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#407dbf",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 211.181,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.12023,
    "h": 252.2
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#407DBF
secondary
#CAAF91
accent
#974ED9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F14
muted
#7D7E82

Preview Lab

Preview with #407DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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