#407DB4#407DB4

#407DB4 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.4% C 0.106 H 248.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#407DB4
RGBrgb(64, 125, 180)
HSLhsl(208, 48%, 48%)
HSVhsv(208, 64%, 71%)
CMYKcmyk(64.4%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.75, -2.26, -34.90)
CIE-LCHlch(50.75, 34.97, 266.29°)
OKLaboklab(57.38% -0.0399 -0.0985)
OKLCHoklch(57.38% 0.106 248)
XYZxyz(17.6831, 19.0508, 45.9164)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407DB4 #B47740
analogous
#40B4B1 #407DB4 #4043B4
triadic
#407DB4 #B4407D #7DB440
tetradic
#407DB4 #B140B4 #B47740 #43B440
square
#407DB4 #B140B4 #B47740 #43B440
split-complementary
#407DB4 #B44043 #B4B140
monochromatic
#203E5A #305E87 #407DB4 #689BC9 #95B9D9

Accessibility & contrast

On white

4.37
#407DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#407DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407DB4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407DB4#FFFFFF#000000##000000
##407DB41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5574B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #407db4;
/* rgb */ color: rgb(64, 125, 180);
/* oklch */ color: oklch(57.4% 0.106 248.0);
Tailwind
colors: {
  custom: {
    50: '#80a2ca',
    500: '#407db4',
    950: '#000000',
  },
}
SCSS
$custom: #407db4;
$custom-light: #80a2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407db4",
  "rgb": {
    "r": 64,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 208.448,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.1063,
    "h": 248
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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