#407BBC#407BBC

#407BBC is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.4% C 0.118 H 252.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#407BBC
RGBrgb(64, 123, 188)
HSLhsl(211, 49%, 49%)
HSVhsv(211, 66%, 74%)
CMYKcmyk(66%, 34.6%, 0%, 26.3%)
CIE-LABlab(50.55, 1.70, -39.81)
CIE-LCHlch(50.55, 39.85, 272.45°)
OKLaboklab(57.36% -0.0355 -0.1129)
OKLCHoklch(57.36% 0.118 252.5)
XYZxyz(18.2711, 18.8849, 50.2495)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BBC #BC8140
analogous
#40B9BC #407BBC #4340BC
triadic
#407BBC #BC407B #7BBC40
tetradic
#407BBC #BC40B9 #BC8140 #40BC43
square
#407BBC #BC40B9 #BC8140 #40BC43
split-complementary
#407BBC #BC4340 #B9BC40
monochromatic
#213F61 #305D8E #407BBC #6C9ACD #9ABADD

Accessibility & contrast

On white

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

On black

4.78
#407BBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BBC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BBC#FFFFFF#000000##000000
##407BBC1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#008A93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #407bbc;
/* rgb */ color: rgb(64, 123, 188);
/* oklch */ color: oklch(57.4% 0.118 252.5);
Tailwind
colors: {
  custom: {
    50: '#81a0d0',
    500: '#407bbc',
    950: '#000000',
  },
}
SCSS
$custom: #407bbc;
$custom-light: #81a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#407bbc",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 188
  },
  "hsl": {
    "h": 211.452,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57355,
    "c": 0.11831,
    "h": 252.5
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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