#407BB5#407BB5

#407BB5 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 57.0% C 0.109 H 250.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#407BB5
RGBrgb(64, 123, 181)
HSLhsl(210, 48%, 48%)
HSVhsv(210, 65%, 71%)
CMYKcmyk(64.6%, 32%, 0%, 29%)
CIE-LABlab(50.20, -0.73, -36.33)
CIE-LCHlch(50.20, 36.34, 268.85°)
OKLaboklab(56.97% -0.0375 -0.1027)
OKLCHoklch(56.97% 0.109 250)
XYZxyz(17.5347, 18.5904, 46.3713)
Luminance0.1859 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BB5 #B57A40
analogous
#40B5B4 #407BB5 #4040B5
triadic
#407BB5 #B5407B #7BB540
tetradic
#407BB5 #B440B5 #B57A40 #40B540
square
#407BB5 #B440B5 #B57A40 #40B540
split-complementary
#407BB5 #B54040 #B5B440
monochromatic
#203E5B #305C88 #407BB5 #689ACA #96B8DA

Accessibility & contrast

On white

4.45
#407BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#407BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BB5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BB5#FFFFFF#000000##000000
##407BB51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB7
Deuteranopia (green-blind)
#5272B4
Tritanopia (blue-blind)
#008990
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407bb5;
/* rgb */ color: rgb(64, 123, 181);
/* oklch */ color: oklch(57.0% 0.109 250.0);
Tailwind
colors: {
  custom: {
    50: '#80a0cb',
    500: '#407bb5',
    950: '#000000',
  },
}
SCSS
$custom: #407bb5;
$custom-light: #80a0cb;
$custom-dark: #000000;
JSON
{
  "hex": "#407bb5",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 181
  },
  "hsl": {
    "h": 209.744,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56969,
    "c": 0.10933,
    "h": 250
  },
  "luminance": 0.18592
}

Semantic roles & 50–950 ramp

primary
#407BB5
secondary
#C5A88B
accent
#9350D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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