#407BAC#407BAC

#407BAC is a mid, moderate cyan. Relative luminance 0.182; OKLCH L 56.5% C 0.098 H 245.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#407BAC
RGBrgb(64, 123, 172)
HSLhsl(207, 46%, 46%)
HSVhsv(207, 63%, 67%)
CMYKcmyk(62.8%, 28.5%, 0%, 32.5%)
CIE-LABlab(49.78, -3.81, -31.79)
CIE-LCHlch(49.78, 32.02, 263.17°)
OKLaboklab(56.49% -0.0402 -0.0895)
OKLCHoklch(56.49% 0.098 245.8)
XYZxyz(16.6409, 18.2329, 41.6640)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BAC #AC7140
analogous
#40ACA7 #407BAC #4045AC
triadic
#407BAC #AC407B #7BAC40
tetradic
#407BAC #A740AC #AC7140 #45AC40
square
#407BAC #A740AC #AC7140 #45AC40
split-complementary
#407BAC #AC4045 #ACA740
monochromatic
#1F3B53 #2F5B7F #407BAC #6499C5 #91B6D6

Accessibility & contrast

On white

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

On black

4.65
#407BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BAC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BAC#FFFFFF#000000##000000
##407BAC1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #407bac;
/* rgb */ color: rgb(64, 123, 172);
/* oklch */ color: oklch(56.5% 0.098 245.8);
Tailwind
colors: {
  custom: {
    50: '#7fa1c5',
    500: '#407bac',
    950: '#000000',
  },
}
SCSS
$custom: #407bac;
$custom-light: #7fa1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#407bac",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 207.222,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56492,
    "c": 0.09815,
    "h": 245.8
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#407BAC
secondary
#C1A187
accent
#8E52D5
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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