#407BAF#407BAF

#407BAF is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.102 H 247.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#407BAF
RGBrgb(64, 123, 175)
HSLhsl(208, 46%, 47%)
HSVhsv(208, 63%, 69%)
CMYKcmyk(63.4%, 29.7%, 0%, 31.4%)
CIE-LABlab(49.92, -2.79, -33.31)
CIE-LCHlch(49.92, 33.43, 265.22°)
OKLaboklab(56.65% -0.0393 -0.0939)
OKLCHoklch(56.65% 0.102 247.3)
XYZxyz(16.9323, 18.3494, 43.1986)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407BAF #AF7440
analogous
#40AFAC #407BAF #4044AF
triadic
#407BAF #AF407B #7BAF40
tetradic
#407BAF #AC40AF #AF7440 #44AF40
square
#407BAF #AC40AF #AF7440 #44AF40
split-complementary
#407BAF #AF4044 #AFAC40
monochromatic
#1F3C55 #305C82 #407BAF #6599C7 #92B7D7

Accessibility & contrast

On white

4.50
#407BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#407BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407BAF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407BAF#FFFFFF#000000##000000
##407BAF1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#647DB1
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #407baf;
/* rgb */ color: rgb(64, 123, 175);
/* oklch */ color: oklch(56.6% 0.102 247.3);
Tailwind
colors: {
  custom: {
    50: '#7fa1c7',
    500: '#407baf',
    950: '#000000',
  },
}
SCSS
$custom: #407baf;
$custom-light: #7fa1c7;
$custom-dark: #000000;
JSON
{
  "hex": "#407baf",
  "rgb": {
    "r": 64,
    "g": 123,
    "b": 175
  },
  "hsl": {
    "h": 208.108,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56648,
    "c": 0.10182,
    "h": 247.3
  },
  "luminance": 0.18351
}

Semantic roles & 50–950 ramp

primary
#407BAF
secondary
#C3A488
accent
#9052D6
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0E13
muted
#7C7E82

Preview Lab

Preview with #407BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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