#407BB4#407BB4

#407BB4 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.9% C 0.108 H 249.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#407BB4
RGBrgb(64, 123, 180)
HSLhsl(209, 48%, 48%)
HSVhsv(209, 64%, 71%)
CMYKcmyk(64.4%, 31.7%, 0%, 29.4%)
CIE-LABlab(50.16, -1.07, -35.83)
CIE-LCHlch(50.16, 35.84, 268.28°)
OKLaboklab(56.92% -0.0378 -0.1013)
OKLCHoklch(56.92% 0.108 249.5)
XYZxyz(17.4325, 18.5495, 45.8329)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BB4 #B47940
analogous
#40B4B3 #407BB4 #4041B4
triadic
#407BB4 #B4407B #7BB440
tetradic
#407BB4 #B340B4 #B47940 #41B440
square
#407BB4 #B340B4 #B47940 #41B440
split-complementary
#407BB4 #B44041 #B4B340
monochromatic
#203D5A #305C87 #407BB4 #6899C9 #95B8D9

Accessibility & contrast

On white

4.46
#407BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#407BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BB4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BB4#FFFFFF#000000##000000
##407BB41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#627EB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407bb4;
/* rgb */ color: rgb(64, 123, 180);
/* oklch */ color: oklch(56.9% 0.108 249.5);
Tailwind
colors: {
  custom: {
    50: '#80a0ca',
    500: '#407bb4',
    950: '#000000',
  },
}
SCSS
$custom: #407bb4;
$custom-light: #80a0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#407bb4",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 180
  },
  "hsl": {
    "h": 209.483,
    "s": 47.541,
    "l": 47.843
  },
  "oklch": {
    "l": 0.56915,
    "c": 0.10807,
    "h": 249.5
  },
  "luminance": 0.18551
}

Semantic roles & 50–950 ramp

primary
#407BB4
secondary
#C5A78B
accent
#9351D7
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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