#407FB2#407FB2

#407FB2 is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.7% C 0.102 H 245.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#407FB2
RGBrgb(64, 127, 178)
HSLhsl(207, 47%, 47%)
HSVhsv(207, 64%, 70%)
CMYKcmyk(64%, 28.7%, 0%, 30.2%)
CIE-LABlab(51.25, -4.13, -32.96)
CIE-LCHlch(51.25, 33.22, 262.86°)
OKLaboklab(57.74% -0.0427 -0.0929)
OKLCHoklch(57.74% 0.102 245.3)
XYZxyz(17.7366, 19.4813, 44.9364)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#407FB2 #B27340
analogous
#40B2AC #407FB2 #4046B2
triadic
#407FB2 #B2407F #7FB240
tetradic
#407FB2 #AC40B2 #B27340 #46B240
square
#407FB2 #AC40B2 #B27340 #46B240
split-complementary
#407FB2 #B24046 #B2AC40
monochromatic
#203F58 #305F85 #407FB2 #679DC8 #94BAD8

Accessibility & contrast

On white

4.29
#407FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#407FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #407FB2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##407FB2#FFFFFF#000000##000000
##407FB21.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B4
Deuteranopia (green-blind)
#5975B1
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #407fb2;
/* rgb */ color: rgb(64, 127, 178);
/* oklch */ color: oklch(57.7% 0.102 245.3);
Tailwind
colors: {
  custom: {
    50: '#80a3c9',
    500: '#407fb2',
    950: '#000000',
  },
}
SCSS
$custom: #407fb2;
$custom-light: #80a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#407fb2",
  "rgb": {
    "r": 64,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 206.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.10223,
    "h": 245.3
  },
  "luminance": 0.19483
}

Semantic roles & 50–950 ramp

primary
#407FB2
secondary
#C4A48A
accent
#8D51D7
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #407FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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