#407AB2#407AB2

#407AB2 is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.6% C 0.106 H 249.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#407AB2
RGBrgb(64, 122, 178)
HSLhsl(209, 47%, 47%)
HSVhsv(209, 64%, 70%)
CMYKcmyk(64%, 31.5%, 0%, 30.2%)
CIE-LABlab(49.76, -1.16, -35.29)
CIE-LCHlch(49.76, 35.31, 268.11°)
OKLaboklab(56.58% -0.0373 -0.0997)
OKLCHoklch(56.58% 0.106 249.5)
XYZxyz(17.1068, 18.2217, 44.7265)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407AB2 #B27840
analogous
#40B2B1 #407AB2 #4041B2
triadic
#407AB2 #B2407A #7AB240
tetradic
#407AB2 #B140B2 #B27840 #41B240
square
#407AB2 #B140B2 #B27840 #41B240
split-complementary
#407AB2 #B24041 #B2B140
monochromatic
#203C58 #305B85 #407AB2 #6798C8 #94B7D8

Accessibility & contrast

On white

4.52
#407AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#407AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407AB2
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407AB2#FFFFFF#000000##000000
##407AB21.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB4
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407ab2;
/* rgb */ color: rgb(64, 122, 178);
/* oklch */ color: oklch(56.6% 0.106 249.5);
Tailwind
colors: {
  custom: {
    50: '#80a0c9',
    500: '#407ab2',
    950: '#000000',
  },
}
SCSS
$custom: #407ab2;
$custom-light: #80a0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#407ab2",
  "rgb": {
    "r": 64,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 209.474,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56575,
    "c": 0.10644,
    "h": 249.5
  },
  "luminance": 0.18223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #407AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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