#407BBA#407BBA

#407BBA is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.2% C 0.116 H 251.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#407BBA
RGBrgb(64, 123, 186)
HSLhsl(211, 49%, 49%)
HSVhsv(211, 66%, 73%)
CMYKcmyk(65.6%, 33.9%, 0%, 27.1%)
CIE-LABlab(50.45, 1.01, -38.82)
CIE-LCHlch(50.45, 38.83, 271.48°)
OKLaboklab(57.24% -0.0361 -0.11)
OKLCHoklch(57.24% 0.116 251.8)
XYZxyz(18.0570, 18.7993, 49.1219)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BBA #BA7F40
analogous
#40B8BA #407BBA #4240BA
triadic
#407BBA #BA407B #7BBA40
tetradic
#407BBA #BA40B8 #BA7F40 #40BA42
square
#407BBA #BA40B8 #BA7F40 #40BA42
split-complementary
#407BBA #BA4240 #B8BA40
monochromatic
#213F5F #305D8C #407BBA #6B9ACC #99B9DC

Accessibility & contrast

On white

4.41
#407BBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#407BBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BBA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BBA#FFFFFF#000000##000000
##407BBA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #407bba;
/* rgb */ color: rgb(64, 123, 186);
/* oklch */ color: oklch(57.2% 0.116 251.8);
Tailwind
colors: {
  custom: {
    50: '#81a0cf',
    500: '#407bba',
    950: '#000000',
  },
}
SCSS
$custom: #407bba;
$custom-light: #81a0cf;
$custom-dark: #000000;
JSON
{
  "hex": "#407bba",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 186
  },
  "hsl": {
    "h": 210.984,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57244,
    "c": 0.11573,
    "h": 251.8
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#407BBA
secondary
#C8AC8E
accent
#964FD8
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #407BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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