#407BBB#407BBB

#407BBB is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.117 H 252.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#407BBB
RGBrgb(64, 123, 187)
HSLhsl(211, 49%, 49%)
HSVhsv(211, 66%, 73%)
CMYKcmyk(65.8%, 34.2%, 0%, 26.7%)
CIE-LABlab(50.50, 1.35, -39.32)
CIE-LCHlch(50.50, 39.34, 271.97°)
OKLaboklab(57.3% -0.0358 -0.1114)
OKLCHoklch(57.3% 0.117 252.2)
XYZxyz(18.1637, 18.8419, 49.6837)
Luminance0.1884 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BBB #BB8040
analogous
#40B9BB #407BBB #4340BB
triadic
#407BBB #BB407B #7BBB40
tetradic
#407BBB #BB40B9 #BB8040 #40BB43
square
#407BBB #BB40B9 #BB8040 #40BB43
split-complementary
#407BBB #BB4340 #B9BB40
monochromatic
#213F60 #305D8D #407BBB #6C9ACD #99B9DC

Accessibility & contrast

On white

4.40
#407BBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#407BBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BBB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BBB#FFFFFF#000000##000000
##407BBB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407bbb;
/* rgb */ color: rgb(64, 123, 187);
/* oklch */ color: oklch(57.3% 0.117 252.2);
Tailwind
colors: {
  custom: {
    50: '#81a0d0',
    500: '#407bbb',
    950: '#000000',
  },
}
SCSS
$custom: #407bbb;
$custom-light: #81a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#407bbb",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 187
  },
  "hsl": {
    "h": 211.22,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.11702,
    "h": 252.2
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#407BBB
secondary
#C8AD8F
accent
#974FD9
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #407BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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